Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [: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.0009165/0.0009166, allocations: 189.9 kB / 7.806 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0007744/0.0007744, allocations: 100.5 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.1573/0.1573, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.731e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 58.83 MB / 476.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.331, allocations: 88.77 MB / 0.5521 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.3312, allocations: 59.97 kB / 0.5521 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02147/0.3527, allocations: 8.52 MB / 0.5605 GB, free: 1.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.3527, allocations: 8 kB / 0.5605 GB, free: 1.637 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008846/0.3536, allocations: 0.6706 MB / 0.5611 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.3536, allocations: 8.031 kB / 0.5611 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.3537, allocations: 47.44 kB / 0.5612 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3541, allocations: 316.1 kB / 0.5615 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3541, allocations: 12 kB / 0.5615 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.3542, allocations: 28 kB / 0.5615 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004225/0.3546, allocations: 258 kB / 0.5618 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.3552, allocations: 369.2 kB / 0.5621 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3552, allocations: 4 kB / 0.5621 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3552, allocations: 0 / 0.5621 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3553, allocations: 12 kB / 0.5621 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.3574, allocations: 1.622 MB / 0.5637 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3576, allocations: 131.4 kB / 0.5638 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3579, allocations: 121.6 kB / 0.5639 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3579, allocations: 0 / 0.5639 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3579, allocations: 42.78 kB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.364e-06/0.358, allocations: 0 / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001678/0.3596, allocations: 1.006 MB / 0.565 GB, free: 12.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3597, allocations: 88.95 kB / 0.5651 GB, free: 12.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3599, allocations: 217 kB / 0.5653 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3599, allocations: 29.7 kB / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.36, allocations: 239.4 kB / 0.5655 GB, free: 12.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.3601, allocations: 114.3 kB / 0.5656 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.3601, allocations: 0 / 0.5656 GB, free: 11.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.3602, allocations: 342.7 kB / 0.566 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3603, allocations: 76.88 kB / 0.566 GB, free: 11.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3605, allocations: 179.1 kB / 0.5662 GB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3607, allocations: 112 kB / 0.5663 GB, free: 11.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3607, allocations: 0 / 0.5663 GB, free: 11.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005027/0.3612, allocations: 334.3 kB / 0.5666 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3612, allocations: 15.44 kB / 0.5666 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3613, allocations: 0 / 0.5666 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.3614, allocations: 28.84 kB / 0.5667 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3619, allocations: 127.8 kB / 0.5668 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/0.3628, allocations: 1.272 MB / 0.568 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.363, allocations: 20.03 kB / 0.568 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.363, allocations: 16 kB / 0.5681 GB, free: 9.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.3631, allocations: 114.2 kB / 0.5682 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.3632, allocations: 27.86 kB / 0.5682 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.3633, allocations: 41.78 kB / 0.5682 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3633, allocations: 4 kB / 0.5682 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3633, allocations: 0 / 0.5682 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3633, allocations: 4 kB / 0.5682 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.3641, allocations: 0.6261 MB / 0.5689 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3641, allocations: 0 / 0.5689 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.3646, allocations: 99.94 kB / 0.569 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-05/0.3646, allocations: 28.84 kB / 0.569 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3647, allocations: 0 / 0.569 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007456/0.3654, allocations: 1.256 MB / 0.5702 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3654, allocations: 3.938 kB / 0.5702 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005742/0.366, allocations: 0.5605 MB / 0.5708 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3661, allocations: 124.7 kB / 0.5709 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3662, allocations: 4 kB / 0.5709 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.3664, allocations: 23.98 kB / 0.5709 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3665, allocations: 19.91 kB / 0.5709 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3665, allocations: 12 kB / 0.5709 GB, free: 6.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001247/0.3667, allocations: 161.2 kB / 0.5711 GB, free: 5.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.3671, allocations: 83.91 kB / 0.5712 GB, free: 5.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.3672, allocations: 107.2 kB / 0.5713 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3677, allocations: 326 kB / 0.5716 GB, free: 5.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3677, allocations: 0 / 0.5716 GB, free: 5.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.3679, allocations: 213.6 kB / 0.5718 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3682, allocations: 29.47 kB / 0.5718 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3693, allocations: 0.6516 MB / 0.5724 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.3697, allocations: 0.8569 MB / 0.5733 GB, free: 3.613 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3697, allocations: 0 / 0.5733 GB, free: 3.613 MB / 410.7 MB Notification: Performance of Templates: time 0.005908/0.3756, allocations: 3.076 MB / 0.5763 GB, free: 0.5586 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches