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") [: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 3.2.3+maint.om/package.mo): time 0.0008924/0.0008924, allocations: 189.9 kB / 7.804 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9833/0.9833, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.000773/0.000773, allocations: 91.34 kB / 261.4 MB, free: 13.55 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.1519/0.1519, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.488e-06/4.529e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 58.84 MB / 476.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3224, allocations: 87.95 MB / 0.5513 GB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.3226, allocations: 63.97 kB / 0.5513 GB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03432/0.357, allocations: 14.63 MB / 0.5656 GB, free: 12.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.357, allocations: 0 / 0.5656 GB, free: 12.3 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.0004298/0.3575, allocations: 475.7 kB / 0.5661 GB, free: 11.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3575, allocations: 8.031 kB / 0.5661 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3575, allocations: 0 / 0.5661 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.3576, allocations: 159.1 kB / 0.5662 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3576, allocations: 0 / 0.5662 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.3577, allocations: 8 kB / 0.5662 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.961e-05/0.3577, allocations: 4 kB / 0.5662 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.733e-05/0.3578, allocations: 33.58 kB / 0.5663 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3578, allocations: 3.984 kB / 0.5663 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.3578, allocations: 3.906 kB / 0.5663 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3578, allocations: 4 kB / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.822e-05/0.3579, allocations: 130.2 kB / 0.5664 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.04e-05/0.3579, allocations: 14.58 kB / 0.5664 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.358, allocations: 9.297 kB / 0.5664 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.358, allocations: 4.094 kB / 0.5664 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.358, allocations: 56.27 kB / 0.5665 GB, free: 11.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.358, allocations: 0 / 0.5665 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.3582, allocations: 37.64 kB / 0.5665 GB, free: 11.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3582, allocations: 81.09 kB / 0.5666 GB, free: 11.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.993e-05/0.3582, allocations: 85 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.3582, allocations: 25.73 kB / 0.5667 GB, free: 10.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.3583, allocations: 84.14 kB / 0.5668 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3583, allocations: 3.906 kB / 0.5668 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.3583, allocations: 4 kB / 0.5668 GB, free: 10.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.3584, allocations: 310.8 kB / 0.5671 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.3584, allocations: 0 / 0.5671 GB, free: 10.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-06/0.3584, allocations: 0 / 0.5671 GB, free: 10.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.355e-05/0.3584, allocations: 0 / 0.5671 GB, free: 10.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3584, allocations: 0 / 0.5671 GB, free: 10.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.118e-05/0.3585, allocations: 37.77 kB / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.3585, allocations: 4 kB / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3585, allocations: 0 / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3585, allocations: 3.984 kB / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3585, allocations: 0 / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.3585, allocations: 0 / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.3586, allocations: 3.906 kB / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3586, allocations: 4 kB / 0.5671 GB, free: 10.52 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 6.628e-05/0.3586, allocations: 134.6 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.3587, allocations: 4.031 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.3587, allocations: 3 kB / 0.5673 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3587, allocations: 0 / 0.5673 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3587, allocations: 4 kB / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3587, allocations: 0 / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/0.3588, allocations: 130.1 kB / 0.5674 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3588, allocations: 0 / 0.5674 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3588, allocations: 0 / 0.5674 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3588, allocations: 0 / 0.5674 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3588, allocations: 7.938 kB / 0.5674 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.3588, allocations: 0 / 0.5674 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3588, allocations: 11.94 kB / 0.5674 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.61e-05/0.3589, allocations: 61.03 kB / 0.5675 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.3589, allocations: 81.11 kB / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.359, allocations: 0 / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.359, allocations: 0 / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.359, allocations: 0 / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.359, allocations: 0 / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.341e-05/0.359, allocations: 83.31 kB / 0.5676 GB, free: 9.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.3592, allocations: 8 kB / 0.5676 GB, free: 9.914 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.0001308/0.3593, allocations: 99.17 kB / 0.5677 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.406e-05/0.3594, allocations: 29.7 kB / 0.5678 GB, free: 9.773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3594, allocations: 0 / 0.5678 GB, free: 9.773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.3594, allocations: 33.69 kB / 0.5678 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.198e-05/0.3595, allocations: 3.266 kB / 0.5678 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001218/0.3597, allocations: 52.11 kB / 0.5679 GB, free: 9.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.3599, allocations: 0.688 MB / 0.5685 GB, free: 8.945 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3599, allocations: 0 / 0.5685 GB, free: 8.945 MB / 410.7 MB Notification: Performance of Templates: time 0.001542/0.3614, allocations: 204.2 kB / 0.5687 GB, free: 8.746 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/jenkins/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