Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 203.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009115/0.0009116, allocations: 97.28 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1739/0.1739, allocations: 45.15 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.733e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09601, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.4285, allocations: 90.07 MB / 0.5917 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4288, allocations: 62.97 kB / 0.5918 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0403/0.4691, allocations: 16.21 MB / 0.6076 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4692, allocations: 0 / 0.6076 GB, free: 0.6562 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.0006422/0.4698, allocations: 478.3 kB / 0.6081 GB, free: 148 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4699, allocations: 8.031 kB / 0.6081 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.4699, allocations: 0 / 0.6081 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.47, allocations: 167.6 kB / 0.6082 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4701, allocations: 0 / 0.6082 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.4701, allocations: 0 / 0.6082 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.21e-05/0.4701, allocations: 4 kB / 0.6082 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.4702, allocations: 30.45 kB / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4702, allocations: 0 / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4702, allocations: 3.906 kB / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4703, allocations: 0 / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.4704, allocations: 126.8 kB / 0.6084 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.4704, allocations: 19.14 kB / 0.6084 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.4705, allocations: 13.34 kB / 0.6084 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.4705, allocations: 3.984 kB / 0.6084 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.4705, allocations: 61.61 kB / 0.6085 GB, free: 15.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.4705, allocations: 0 / 0.6085 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.4707, allocations: 34.27 kB / 0.6085 GB, free: 15.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4707, allocations: 77.11 kB / 0.6086 GB, free: 15.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.4708, allocations: 89.66 kB / 0.6087 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4708, allocations: 25.7 kB / 0.6087 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.4708, allocations: 80.89 kB / 0.6088 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4709, allocations: 3.906 kB / 0.6088 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.4709, allocations: 0 / 0.6088 GB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.471, allocations: 311.5 kB / 0.6091 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-06/0.471, allocations: 4.75 kB / 0.6091 GB, free: 14.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.471, allocations: 3.984 kB / 0.6091 GB, free: 14.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.471, allocations: 4.062 kB / 0.6091 GB, free: 14.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.471, allocations: 4.688 kB / 0.6091 GB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.182e-05/0.4711, allocations: 30.33 kB / 0.6091 GB, free: 14.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4711, allocations: 8 kB / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4711, allocations: 0 / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4711, allocations: 0 / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.4711, allocations: 0 / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4712, allocations: 3.938 kB / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.4712, allocations: 3.906 kB / 0.6091 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4712, allocations: 3.938 kB / 0.6091 GB, free: 14.88 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.454e-05/0.4713, allocations: 139.2 kB / 0.6093 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.4713, allocations: 0.625 kB / 0.6093 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.4713, allocations: 6.953 kB / 0.6093 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4713, allocations: 0 / 0.6093 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4713, allocations: 0 / 0.6093 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4713, allocations: 0 / 0.6093 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.4714, allocations: 130.7 kB / 0.6094 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4714, allocations: 0 / 0.6094 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.4714, allocations: 0 / 0.6094 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4715, allocations: 0 / 0.6094 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4715, allocations: 7.984 kB / 0.6094 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4715, allocations: 0 / 0.6094 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4715, allocations: 4 kB / 0.6094 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.057e-05/0.4716, allocations: 55.92 kB / 0.6095 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.4716, allocations: 77.86 kB / 0.6095 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.4716, allocations: 4 kB / 0.6096 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.4716, allocations: 3.984 kB / 0.6096 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.4717, allocations: 4.031 kB / 0.6096 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.4717, allocations: 3.938 kB / 0.6096 GB, free: 14.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.114e-05/0.4717, allocations: 75.28 kB / 0.6096 GB, free: 14.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.4719, allocations: 8 kB / 0.6096 GB, free: 14.29 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.0001087/0.472, allocations: 91.75 kB / 0.6097 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.4721, allocations: 31.02 kB / 0.6098 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4721, allocations: 0 / 0.6098 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.4721, allocations: 34.45 kB / 0.6098 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.548e-05/0.4722, allocations: 3.938 kB / 0.6098 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001346/0.4724, allocations: 52.97 kB / 0.6098 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.4726, allocations: 0.6802 MB / 0.6105 GB, free: 13.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4726, allocations: 0 / 0.6105 GB, free: 13.33 MB / 410.7 MB Notification: Performance of Templates: time 0.001849/0.4744, allocations: 216.7 kB / 0.6107 GB, free: 13.12 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches