Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008484, allocations: 84.05 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.175/0.175, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.676e-05, allocations: 224 / 451.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 61.91 MB / 0.5017 GB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4726, allocations: 89.69 MB / 0.5893 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4729, allocations: 63.91 kB / 0.5893 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.5009, allocations: 9.989 MB / 0.5991 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.501, allocations: 0 / 0.5991 GB, free: 5.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.501, allocations: 0 / 0.5991 GB, free: 5.621 MB / 410.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.0005457/0.5015, allocations: 471.9 kB / 0.5995 GB, free: 5.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5016, allocations: 12.03 kB / 0.5996 GB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.5016, allocations: 0 / 0.5996 GB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.579e-05/0.5017, allocations: 163 kB / 0.5997 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5017, allocations: 3.938 kB / 0.5997 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.5017, allocations: 3.953 kB / 0.5997 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.287e-05/0.5018, allocations: 33.69 kB / 0.5998 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.5018, allocations: 0 / 0.5998 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.5018, allocations: 0 / 0.5998 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5018, allocations: 4 kB / 0.5998 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.5019, allocations: 4 kB / 0.5998 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.502, allocations: 145.7 kB / 0.5999 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.065e-05/0.502, allocations: 18.52 kB / 0.5999 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.5021, allocations: 8.953 kB / 0.5999 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-06/0.5021, allocations: 0 / 0.5999 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5021, allocations: 64.2 kB / 0.6 GB, free: 4.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.5021, allocations: 4 kB / 0.6 GB, free: 4.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.5023, allocations: 59.41 kB / 0.6 GB, free: 4.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5023, allocations: 81.11 kB / 0.6001 GB, free: 4.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.5024, allocations: 85 kB / 0.6002 GB, free: 4.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5024, allocations: 25.7 kB / 0.6002 GB, free: 4.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.5024, allocations: 80.14 kB / 0.6003 GB, free: 4.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5024, allocations: 7.938 kB / 0.6003 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.5024, allocations: 0 / 0.6003 GB, free: 4.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5025, allocations: 318.9 kB / 0.6006 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.5026, allocations: 0 / 0.6006 GB, free: 3.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.5026, allocations: 3.938 kB / 0.6006 GB, free: 3.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.5026, allocations: 29.7 kB / 0.6007 GB, free: 3.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5026, allocations: 0 / 0.6007 GB, free: 3.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.877e-05/0.5027, allocations: 59.41 kB / 0.6007 GB, free: 3.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.5027, allocations: 33.7 kB / 0.6007 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5027, allocations: 3.984 kB / 0.6007 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5028, allocations: 4.047 kB / 0.6007 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.5028, allocations: 4 kB / 0.6008 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5028, allocations: 0 / 0.6008 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.5028, allocations: 4 kB / 0.6008 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5028, allocations: 0 / 0.6008 GB, free: 3.668 MB / 410.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 () * 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 7.778e-05/0.5029, allocations: 126.7 kB / 0.6009 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.5029, allocations: 4 kB / 0.6009 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.259e-05/0.5029, allocations: 11.02 kB / 0.6009 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5029, allocations: 3.953 kB / 0.6009 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5029, allocations: 0 / 0.6009 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5029, allocations: 4 kB / 0.6009 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.169e-05/0.503, allocations: 145.7 kB / 0.601 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.503, allocations: 0 / 0.601 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.5031, allocations: 7.938 kB / 0.601 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.5031, allocations: 0 / 0.601 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5031, allocations: 3.984 kB / 0.601 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5031, allocations: 0 / 0.601 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5031, allocations: 3.953 kB / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.5032, allocations: 94.83 kB / 0.6011 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.5032, allocations: 77.11 kB / 0.6012 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.5033, allocations: 4 kB / 0.6012 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.5033, allocations: 0 / 0.6012 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5033, allocations: 4 kB / 0.6012 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.5033, allocations: 3.953 kB / 0.6012 GB, free: 3.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.706e-05/0.5033, allocations: 75.28 kB / 0.6013 GB, free: 3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5033, allocations: 0 / 0.6013 GB, free: 3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.5039, allocations: 179.8 kB / 0.6015 GB, free: 2.824 MB / 410.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) * 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.0006971/0.5047, allocations: 413.3 kB / 0.6019 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8e-05/0.5047, allocations: 67.34 kB / 0.6019 GB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5048, allocations: 0 / 0.6019 GB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.5048, allocations: 55.41 kB / 0.602 GB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.285e-05/0.5049, allocations: 2.062 kB / 0.602 GB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001309/0.505, allocations: 45.5 kB / 0.602 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5053, allocations: 0.677 MB / 0.6027 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.721e-06/0.5053, allocations: 0 / 0.6027 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.5053, allocations: 7.438 kB / 0.6027 GB, free: 1.504 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5053, allocations: 128 / 0.6027 GB, free: 1.504 MB / 410.7 MB Notification: Performance of Templates: time 0.006672/0.512, allocations: 3.927 MB / 0.6065 GB, free: 13.57 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches