Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.00164, allocations: 175.8 kB / 8.15 MB, free: 2.195 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.782/1.782, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.00126/0.00126, allocations: 85.66 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.2576/0.2576, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.843e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.264, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.4237, allocations: 88.76 MB / 0.5521 GB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.424, allocations: 67.47 kB / 0.5521 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03946/0.4635, allocations: 8.517 MB / 0.5604 GB, free: 1.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.4636, allocations: 8 kB / 0.5604 GB, free: 1.703 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.001659/0.4653, allocations: 0.6667 MB / 0.5611 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4653, allocations: 8.031 kB / 0.5611 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.4655, allocations: 47.44 kB / 0.5611 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.4661, allocations: 320 kB / 0.5615 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.4661, allocations: 16 kB / 0.5615 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.4663, allocations: 32 kB / 0.5615 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008601/0.4671, allocations: 254 kB / 0.5617 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4682, allocations: 365.2 kB / 0.5621 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4682, allocations: 0 / 0.5621 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.4683, allocations: 4 kB / 0.5621 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.4683, allocations: 8 kB / 0.5621 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.4723, allocations: 1.63 MB / 0.5637 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.4727, allocations: 127.4 kB / 0.5638 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.4731, allocations: 121.6 kB / 0.5639 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.4731, allocations: 4 kB / 0.5639 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4732, allocations: 34.56 kB / 0.564 GB, free: 13.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.935e-06/0.4732, allocations: 224 / 0.564 GB, free: 13.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.003074/0.4763, allocations: 1.011 MB / 0.565 GB, free: 12.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.4764, allocations: 89.02 kB / 0.565 GB, free: 12.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.4767, allocations: 213 kB / 0.5652 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4768, allocations: 29.64 kB / 0.5653 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.477, allocations: 297.9 kB / 0.5656 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4771, allocations: 114.3 kB / 0.5657 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.4771, allocations: 0 / 0.5657 GB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4773, allocations: 330.7 kB / 0.566 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.4776, allocations: 80.88 kB / 0.5661 GB, free: 11.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.4779, allocations: 178.8 kB / 0.5662 GB, free: 11.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4783, allocations: 112.2 kB / 0.5663 GB, free: 11.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4783, allocations: 0 / 0.5663 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009716/0.4793, allocations: 318.3 kB / 0.5666 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4793, allocations: 8 kB / 0.5666 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4793, allocations: 0 / 0.5666 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.4795, allocations: 28.84 kB / 0.5667 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.4805, allocations: 132 kB / 0.5668 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.4822, allocations: 1.36 MB / 0.5681 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.4826, allocations: 8 kB / 0.5681 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.4827, allocations: 27.97 kB / 0.5682 GB, free: 9.254 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 0.0001163/0.4828, allocations: 31.05 kB / 0.5682 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.483, allocations: 35.72 kB / 0.5682 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.4831, allocations: 33.83 kB / 0.5683 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4832, allocations: 4 kB / 0.5683 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4832, allocations: 4 kB / 0.5683 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4832, allocations: 0 / 0.5683 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.4847, allocations: 0.6234 MB / 0.5689 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4847, allocations: 0 / 0.5689 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.4857, allocations: 99.86 kB / 0.569 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.4858, allocations: 24.94 kB / 0.569 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.4859, allocations: 7.984 kB / 0.569 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.4872, allocations: 1.256 MB / 0.5702 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.4872, allocations: 7.906 kB / 0.5702 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001097/0.4884, allocations: 0.5638 MB / 0.5708 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.4886, allocations: 124.7 kB / 0.5709 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.4887, allocations: 4 kB / 0.5709 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.4892, allocations: 19.89 kB / 0.5709 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.4893, allocations: 19.97 kB / 0.5709 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.4893, allocations: 12 kB / 0.571 GB, free: 6.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002427/0.4896, allocations: 169.2 kB / 0.5711 GB, free: 5.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.4902, allocations: 76 kB / 0.5712 GB, free: 5.914 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.0001749/0.4904, allocations: 100.1 kB / 0.5713 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.4913, allocations: 330.5 kB / 0.5716 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4914, allocations: 128 / 0.5716 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.4918, allocations: 225.6 kB / 0.5718 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.4923, allocations: 32.31 kB / 0.5718 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.4945, allocations: 0.6849 MB / 0.5725 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.4952, allocations: 0.8612 MB / 0.5734 GB, free: 3.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4952, allocations: 0 / 0.5734 GB, free: 3.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01266/0.5079, allocations: 5.739 MB / 0.579 GB, free: 13.85 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches