Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") [: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.002194/0.002194, allocations: 172 kB / 8.149 MB, free: 2.188 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.887/1.887, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.00132/0.00132, allocations: 95.69 kB / 261.8 MB, free: 13.65 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.3043/0.3043, allocations: 43.5 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.636e-06, allocations: 0 / 417.7 MB, free: 40.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4602, allocations: 85.29 MB / 0.5487 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4605, allocations: 71.47 kB / 0.5487 GB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04452/0.505, allocations: 6.745 MB / 0.5553 GB, free: 6.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.5051, allocations: 8 kB / 0.5553 GB, free: 6.961 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.001986/0.5072, allocations: 0.6075 MB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.5072, allocations: 8.031 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.5075, allocations: 51.38 kB / 0.556 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.5079, allocations: 226.2 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.508, allocations: 16 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.5082, allocations: 35.91 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001018/0.5092, allocations: 209.9 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5106, allocations: 380.7 kB / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.5107, allocations: 11.89 kB / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.5108, allocations: 4 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.5108, allocations: 12 kB / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.5165, allocations: 1.618 MB / 0.5584 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.5176, allocations: 335.2 kB / 0.5587 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.5181, allocations: 147.7 kB / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.5182, allocations: 4 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.5183, allocations: 46.5 kB / 0.5589 GB, free: 2.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 5.571e-06/0.5183, allocations: 4 kB / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.001453/0.5198, allocations: 249.6 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.52, allocations: 264.9 kB / 0.5594 GB, free: 2.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.5206, allocations: 200.6 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.5207, allocations: 29.7 kB / 0.5596 GB, free: 2.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.5209, allocations: 282.1 kB / 0.5599 GB, free: 1.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.5212, allocations: 177.5 kB / 0.5601 GB, free: 1.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.5213, allocations: 0 / 0.5601 GB, free: 1.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.5215, allocations: 346.7 kB / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.522, allocations: 93.56 kB / 0.5605 GB, free: 1.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.5228, allocations: 382 kB / 0.5609 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.5235, allocations: 171.7 kB / 0.561 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.5235, allocations: 4 kB / 0.561 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0018/0.5253, allocations: 461.2 kB / 0.5615 GB, free: 140 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.5254, allocations: 6.812 kB / 0.5615 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.5254, allocations: 12 kB / 0.5615 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/0.5255, allocations: 16 kB / 0.5615 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.5273, allocations: 188.2 kB / 0.5617 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.341e-05/0.5274, allocations: 32.3 kB / 0.5617 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.528, allocations: 35.53 kB / 0.5617 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5281, allocations: 32 kB / 0.5618 GB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.0001936/0.5283, allocations: 58.8 kB / 0.5618 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.5288, allocations: 31.88 kB / 0.5619 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.529, allocations: 45.61 kB / 0.5619 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5291, allocations: 4 kB / 0.5619 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.5291, allocations: 8 kB / 0.5619 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5291, allocations: 4 kB / 0.5619 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.5313, allocations: 361.6 kB / 0.5623 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.5314, allocations: 0 / 0.5623 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.5334, allocations: 123.9 kB / 0.5624 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.5334, allocations: 4 kB / 0.5624 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.5335, allocations: 8 kB / 0.5624 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.5335, allocations: 11.92 kB / 0.5624 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5335, allocations: 3.938 kB / 0.5624 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001358/0.5349, allocations: 1.139 MB / 0.5635 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.5351, allocations: 112.6 kB / 0.5636 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.5351, allocations: 8 kB / 0.5636 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.5358, allocations: 0 / 0.5636 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.5359, allocations: 35.89 kB / 0.5637 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5359, allocations: 15.98 kB / 0.5637 GB, free: 13.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002913/0.5362, allocations: 149.2 kB / 0.5638 GB, free: 13.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001174/0.5374, allocations: 119.6 kB / 0.5639 GB, free: 13.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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 0.0002116/0.5377, allocations: 111.1 kB / 0.564 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.5386, allocations: 299.9 kB / 0.5643 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5386, allocations: 2.5 kB / 0.5643 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.5389, allocations: 119.8 kB / 0.5644 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5402, allocations: 66.81 kB / 0.5645 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.5447, allocations: 1.908 MB / 0.5664 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/0.5455, allocations: 0.8834 MB / 0.5672 GB, free: 9.992 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5455, allocations: 0 / 0.5672 GB, free: 9.992 MB / 410.7 MB Notification: Performance of Templates: time 0.01248/0.558, allocations: 4.898 MB / 0.572 GB, free: 5.105 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches