Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 174.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3875/0.3875, allocations: 43.55 MB / 314.5 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005191, allocations: 12 kB / 383.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1473, allocations: 58.86 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006266/0.148, allocations: 200.5 kB / 442.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.1511, allocations: 2.154 MB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.1511, allocations: 0 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.1512, allocations: 3.938 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1512, allocations: 0 / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1534, allocations: 0.9114 MB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.73e-05/0.1534, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.1535, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.1535, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.1535, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1535, allocations: 4 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1547, allocations: 0.7257 MB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1547, allocations: 4 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1547, allocations: 25.7 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.1551, allocations: 267.5 kB / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1551, allocations: 0 / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1552, allocations: 0 / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1552, allocations: 0 / 447 MB, free: 8.777 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004517/0.1556, allocations: 421 kB / 447.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1557, allocations: 8.031 kB / 447.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1557, allocations: 3.953 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1558, allocations: 163.1 kB / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1559, allocations: 4 kB / 447.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1559, allocations: 4 kB / 447.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.156, allocations: 25.7 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.156, allocations: 0 / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.156, allocations: 0 / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.156, allocations: 4 kB / 447.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.156, allocations: 11.83 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.1562, allocations: 146 kB / 447.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.1562, allocations: 26.59 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1562, allocations: 0 / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.1563, allocations: 60.27 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1563, allocations: 0 / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001743/0.1565, allocations: 75.25 kB / 448 MB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1566, allocations: 81.09 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.1566, allocations: 89.86 kB / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1566, allocations: 29.83 kB / 448.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.1567, allocations: 84.14 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1567, allocations: 3.938 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1567, allocations: 0 / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1568, allocations: 314.8 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.1568, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.1568, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.1569, allocations: 29.7 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1569, allocations: 4.062 kB / 448.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.604e-05/0.157, allocations: 71.33 kB / 448.7 MB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.157, allocations: 29.7 kB / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.157, allocations: 0 / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.157, allocations: 0 / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.157, allocations: 0 / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1571, allocations: 0 / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.1571, allocations: 4 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1571, allocations: 0 / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.1572, allocations: 143.5 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.1572, allocations: 4 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.1572, allocations: 7.109 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1572, allocations: 0 / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1572, allocations: 0 / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1572, allocations: 0 / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.656e-05/0.1573, allocations: 149.6 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1573, allocations: 4 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1573, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1574, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1574, allocations: 7.922 kB / 449 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1574, allocations: 4 kB / 449 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1574, allocations: 0 / 449 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.914e-05/0.1575, allocations: 94.73 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.1575, allocations: 81.09 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1575, allocations: 0 / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.1576, allocations: 4 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1576, allocations: 3.984 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1576, allocations: 4.031 kB / 449.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.1576, allocations: 75.28 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1576, allocations: 0 / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.158, allocations: 140 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006538/0.1587, allocations: 370.7 kB / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.1588, allocations: 67.39 kB / 449.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1588, allocations: 0 / 449.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.1589, allocations: 55.41 kB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.339e-05/0.1589, allocations: 3.953 kB / 449.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.1591, allocations: 82.81 kB / 450 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1594, allocations: 0.6731 MB / 450.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.422e-06/0.1594, allocations: 0 / 450.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.1594, allocations: 11.44 kB / 450.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1594, allocations: 0 / 450.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of Templates: time 0.007597/0.167, allocations: 4.064 MB / 454.7 MB, free: 0.6484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches