Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [: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 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 178.6 kB / 8.521 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.001012/0.001011, allocations: 98.7 kB / 281.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.524e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.4263, allocations: 85.58 MB / 0.5777 GB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.4265, allocations: 68.08 kB / 0.5777 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.00307/0.4296, allocations: 1.227 MB / 0.5789 GB, free: 9.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4296, allocations: 4 kB / 0.5789 GB, free: 9.938 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003137/0.4299, allocations: 378.3 kB / 0.5793 GB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.43, allocations: 11.97 kB / 0.5793 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.43, allocations: 7.906 kB / 0.5793 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.4301, allocations: 174.9 kB / 0.5795 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4301, allocations: 4 kB / 0.5795 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4301, allocations: 12 kB / 0.5795 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.4303, allocations: 52.45 kB / 0.5795 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4304, allocations: 108.8 kB / 0.5796 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.4304, allocations: 0 / 0.5796 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4305, allocations: 0 / 0.5796 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4305, allocations: 4 kB / 0.5796 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.4311, allocations: 0.6849 MB / 0.5803 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.996e-05/0.4312, allocations: 169.1 kB / 0.5805 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.4312, allocations: 84.14 kB / 0.5805 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4312, allocations: 75.28 kB / 0.5806 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4313, allocations: 109.8 kB / 0.5807 GB, free: 7.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.4313, allocations: 4 kB / 0.5807 GB, free: 7.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.508e-05/0.4314, allocations: 29.7 kB / 0.5808 GB, free: 7.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.4314, allocations: 51.41 kB / 0.5808 GB, free: 7.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.4315, allocations: 109.2 kB / 0.5809 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.4315, allocations: 25.7 kB / 0.5809 GB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.4316, allocations: 131.7 kB / 0.5811 GB, free: 7.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.4316, allocations: 3.703 kB / 0.5811 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.4316, allocations: 3.938 kB / 0.5811 GB, free: 7.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.4317, allocations: 318.8 kB / 0.5814 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.4317, allocations: 8 kB / 0.5814 GB, free: 7.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.4317, allocations: 37.16 kB / 0.5814 GB, free: 7.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.4318, allocations: 16 kB / 0.5814 GB, free: 7.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4318, allocations: 0 / 0.5814 GB, free: 7.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001214/0.4319, allocations: 65.47 kB / 0.5815 GB, free: 7.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.4319, allocations: 4.375 kB / 0.5815 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4319, allocations: 7.812 kB / 0.5815 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.4319, allocations: 0 / 0.5815 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.432, allocations: 15.98 kB / 0.5815 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.432, allocations: 3.938 kB / 0.5815 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.4321, allocations: 12.12 kB / 0.5815 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.4321, allocations: 0 / 0.5815 GB, free: 7.012 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.006e-05/0.4321, allocations: 189.3 kB / 0.5817 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.4322, allocations: 101 kB / 0.5818 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.4323, allocations: 116.4 kB / 0.5819 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/0.4323, allocations: 180.2 kB / 0.5821 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/0.4324, allocations: 184.2 kB / 0.5823 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/0.4324, allocations: 180.3 kB / 0.5824 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.4326, allocations: 405.7 kB / 0.5828 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/0.4326, allocations: 105 kB / 0.5829 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.4327, allocations: 105.4 kB / 0.583 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.58e-05/0.4327, allocations: 180.2 kB / 0.5832 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.4328, allocations: 186.3 kB / 0.5834 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.4328, allocations: 184.3 kB / 0.5836 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-05/0.4329, allocations: 184 kB / 0.5837 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001169/0.433, allocations: 303.7 kB / 0.584 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.4331, allocations: 193.9 kB / 0.5842 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.4332, allocations: 184.2 kB / 0.5844 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.4332, allocations: 101 kB / 0.5845 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.4333, allocations: 180.2 kB / 0.5846 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4333, allocations: 101 kB / 0.5847 GB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.481e-05/0.4334, allocations: 91.28 kB / 0.5848 GB, free: 3.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.4336, allocations: 23.84 kB / 0.5849 GB, free: 3.402 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.341e-05/0.4337, allocations: 170.5 kB / 0.585 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.075e-05/0.4338, allocations: 19.94 kB / 0.585 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.4338, allocations: 0 / 0.585 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.4338, allocations: 0 / 0.585 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.434, allocations: 0.5228 MB / 0.5855 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.4342, allocations: 166.8 kB / 0.5857 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.4345, allocations: 0.7114 MB / 0.5864 GB, free: 1.758 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4345, allocations: 288 / 0.5864 GB, free: 1.758 MB / 394.7 MB Notification: Performance of Templates: time 0.001506/0.436, allocations: 309.4 kB / 0.5867 GB, free: 1.457 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches