Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009177/0.0009173, allocations: 176.2 kB / 16.76 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 85.44 kB / 271.3 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3894/0.3894, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004936, allocations: 12 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.5176, allocations: 88.8 MB / 0.5667 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.5178, allocations: 71.95 kB / 0.5667 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02783/0.5456, allocations: 9.636 MB / 0.5761 GB, free: 3.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5456, allocations: 0 / 0.5761 GB, free: 3.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.5457, allocations: 0 / 0.5761 GB, free: 3.5 MB / 394.7 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.0005792/0.5463, allocations: 485.9 kB / 0.5766 GB, free: 2.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5463, allocations: 8.031 kB / 0.5766 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.5463, allocations: 4.938 kB / 0.5766 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.5464, allocations: 160.4 kB / 0.5768 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5464, allocations: 384 / 0.5768 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5465, allocations: 384 / 0.5768 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.5465, allocations: 30.27 kB / 0.5768 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5466, allocations: 192 / 0.5768 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.5466, allocations: 7.938 kB / 0.5768 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5466, allocations: 0 / 0.5768 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.5466, allocations: 7.922 kB / 0.5768 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.5467, allocations: 149.7 kB / 0.577 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.5468, allocations: 14.58 kB / 0.577 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.5468, allocations: 5.297 kB / 0.577 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.5468, allocations: 96 / 0.577 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.5469, allocations: 65.58 kB / 0.577 GB, free: 2.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5469, allocations: 0 / 0.577 GB, free: 2.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.547, allocations: 75.89 kB / 0.5771 GB, free: 2.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5471, allocations: 77.11 kB / 0.5772 GB, free: 2.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.5471, allocations: 89.86 kB / 0.5773 GB, free: 2.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.5471, allocations: 25.7 kB / 0.5773 GB, free: 2.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.5472, allocations: 80.14 kB / 0.5774 GB, free: 2.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5472, allocations: 0.9375 kB / 0.5774 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.5472, allocations: 4 kB / 0.5774 GB, free: 2.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5473, allocations: 315 kB / 0.5777 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.5473, allocations: 7.922 kB / 0.5777 GB, free: 1.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.5474, allocations: 0 / 0.5777 GB, free: 1.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.5474, allocations: 64.27 kB / 0.5777 GB, free: 1.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5474, allocations: 0 / 0.5777 GB, free: 1.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.304e-05/0.5475, allocations: 66.06 kB / 0.5778 GB, free: 1.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.5475, allocations: 33.69 kB / 0.5778 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5475, allocations: 96 / 0.5778 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5476, allocations: 7.938 kB / 0.5779 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.5476, allocations: 0 / 0.5779 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5476, allocations: 4 kB / 0.5779 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.5476, allocations: 0 / 0.5779 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5476, allocations: 0 / 0.5779 GB, free: 1.484 MB / 394.7 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.255e-05/0.5477, allocations: 139.5 kB / 0.578 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.5477, allocations: 0 / 0.578 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.5477, allocations: 7.938 kB / 0.578 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5477, allocations: 0 / 0.578 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5477, allocations: 4 kB / 0.578 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5477, allocations: 0 / 0.578 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.5478, allocations: 153.7 kB / 0.5781 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.5478, allocations: 0 / 0.5781 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.5479, allocations: 3.938 kB / 0.5782 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.5479, allocations: 0 / 0.5782 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.5479, allocations: 3.938 kB / 0.5782 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.5479, allocations: 0 / 0.5782 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5479, allocations: 0 / 0.5782 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.548, allocations: 100.8 kB / 0.5783 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.548, allocations: 77.11 kB / 0.5783 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.548, allocations: 3.938 kB / 0.5783 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.5481, allocations: 4 kB / 0.5783 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.5481, allocations: 7.969 kB / 0.5783 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5481, allocations: 0 / 0.5783 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.5481, allocations: 79.28 kB / 0.5784 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5481, allocations: 0 / 0.5784 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005544/0.5487, allocations: 176.6 kB / 0.5786 GB, free: 0.6406 MB / 394.7 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.0007349/0.5494, allocations: 401.8 kB / 0.579 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.5495, allocations: 63.41 kB / 0.579 GB, free: 172 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5495, allocations: 4 kB / 0.579 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.5496, allocations: 55.34 kB / 0.5791 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.5497, allocations: 4 kB / 0.5791 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.5499, allocations: 77.5 kB / 0.5792 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.5501, allocations: 0.6731 MB / 0.5798 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.376e-06/0.5502, allocations: 0 / 0.5798 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.5502, allocations: 7.438 kB / 0.5798 GB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5502, allocations: 4.125 kB / 0.5798 GB, free: 15.28 MB / 410.7 MB Notification: Performance of Templates: time 0.007567/0.5578, allocations: 4.233 MB / 0.584 GB, free: 11.05 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches