Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 169.6 kB / 8.142 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 92.5 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2698/0.2698, allocations: 43.48 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.806e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2899, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.4485, allocations: 87.95 MB / 0.5513 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4488, allocations: 67.48 kB / 0.5513 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06079/0.5096, allocations: 14.63 MB / 0.5656 GB, free: 12.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.5097, allocations: 0 / 0.5656 GB, free: 12.43 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.0007603/0.5104, allocations: 471.7 kB / 0.566 GB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5105, allocations: 8.031 kB / 0.5661 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.5106, allocations: 3.984 kB / 0.5661 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5107, allocations: 159.1 kB / 0.5662 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.5107, allocations: 8 kB / 0.5662 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.5108, allocations: 3.938 kB / 0.5662 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.794e-05/0.5108, allocations: 4 kB / 0.5662 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.431e-05/0.5109, allocations: 25.7 kB / 0.5663 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5109, allocations: 3.984 kB / 0.5663 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5109, allocations: 3.906 kB / 0.5663 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5109, allocations: 0 / 0.5663 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.5111, allocations: 130.2 kB / 0.5664 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.5111, allocations: 26.5 kB / 0.5664 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.5111, allocations: 5.297 kB / 0.5664 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.5112, allocations: 0 / 0.5664 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.5112, allocations: 64.3 kB / 0.5665 GB, free: 11.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.5112, allocations: 0 / 0.5665 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.5114, allocations: 29.7 kB / 0.5665 GB, free: 11.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.5114, allocations: 77.11 kB / 0.5666 GB, free: 11.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.534e-05/0.5115, allocations: 89 kB / 0.5667 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5115, allocations: 29.73 kB / 0.5667 GB, free: 11.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.5116, allocations: 150.6 kB / 0.5668 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.5116, allocations: 3.906 kB / 0.5668 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.5116, allocations: 3.938 kB / 0.5668 GB, free: 10.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5118, allocations: 318.8 kB / 0.5671 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-06/0.5118, allocations: 0 / 0.5671 GB, free: 10.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.5118, allocations: 0 / 0.5671 GB, free: 10.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.501e-05/0.5118, allocations: 0 / 0.5671 GB, free: 10.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5118, allocations: 4.062 kB / 0.5671 GB, free: 10.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.287e-05/0.5119, allocations: 33.64 kB / 0.5672 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5119, allocations: 8 kB / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.512, allocations: 0 / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.512, allocations: 0 / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.512, allocations: 0 / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.512, allocations: 0 / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.512, allocations: 0 / 0.5672 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.512, allocations: 3.906 kB / 0.5672 GB, free: 10.58 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.91e-05/0.5121, allocations: 67.41 kB / 0.5673 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.5121, allocations: 0 / 0.5673 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.5122, allocations: 3 kB / 0.5673 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5122, allocations: 0 / 0.5673 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.5122, allocations: 0 / 0.5673 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5122, allocations: 4 kB / 0.5673 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.944e-05/0.5123, allocations: 130.2 kB / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5123, allocations: 0 / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.5123, allocations: 0 / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5123, allocations: 3.984 kB / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5124, allocations: 0 / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.5124, allocations: 11.94 kB / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5124, allocations: 0 / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.391e-05/0.5125, allocations: 53.08 kB / 0.5675 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.5125, allocations: 81.02 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.5126, allocations: 7.984 kB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.5126, allocations: 0 / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.5126, allocations: 4 kB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5126, allocations: 8.031 kB / 0.5675 GB, free: 10.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.538e-05/0.5127, allocations: 79.28 kB / 0.5676 GB, free: 10.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.5129, allocations: 8 kB / 0.5676 GB, free: 10.04 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.000136/0.5131, allocations: 91.25 kB / 0.5677 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.57e-05/0.5131, allocations: 29.7 kB / 0.5677 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5132, allocations: 0 / 0.5677 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.5132, allocations: 29.7 kB / 0.5678 GB, free: 9.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.5133, allocations: 5.219 kB / 0.5678 GB, free: 9.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.5135, allocations: 77.64 kB / 0.5679 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.5138, allocations: 0.6841 MB / 0.5685 GB, free: 9.047 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5138, allocations: 0 / 0.5685 GB, free: 9.047 MB / 410.7 MB Notification: Performance of Templates: time 0.001833/0.5157, allocations: 363.3 kB / 0.5689 GB, free: 8.691 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches