Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 174.6 kB / 8.52 MB, free: 1.844 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.314/1.314, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.000882/0.000882, allocations: 93.78 kB / 281.2 MB, free: 5.512 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.1838/0.1838, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.771e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 61.9 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.4298, allocations: 86.49 MB / 0.5785 GB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.43, allocations: 65.2 kB / 0.5786 GB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01823/0.4483, allocations: 6.932 MB / 0.5854 GB, free: 3.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4483, allocations: 12 kB / 0.5854 GB, free: 3.332 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.0007709/0.4491, allocations: 0.6035 MB / 0.586 GB, free: 2.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4492, allocations: 15.97 kB / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.4493, allocations: 55.44 kB / 0.586 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4495, allocations: 230.2 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4495, allocations: 16 kB / 0.5863 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.4496, allocations: 35.91 kB / 0.5863 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003816/0.4499, allocations: 206 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.4505, allocations: 380.2 kB / 0.5869 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.4505, allocations: 15.77 kB / 0.5869 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.4506, allocations: 7.984 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4506, allocations: 12 kB / 0.5869 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.4526, allocations: 1.614 MB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.453, allocations: 327.2 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4532, allocations: 135.7 kB / 0.5889 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4533, allocations: 11.94 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4533, allocations: 45.45 kB / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.784e-06/0.4533, allocations: 0 / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005639/0.4539, allocations: 245.7 kB / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.454, allocations: 269 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4542, allocations: 197.2 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4543, allocations: 29.7 kB / 0.5897 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4544, allocations: 227.5 kB / 0.5899 GB, free: 14.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4545, allocations: 173.5 kB / 0.5901 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.4545, allocations: 4.125 kB / 0.5901 GB, free: 14.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4546, allocations: 350.7 kB / 0.5904 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.4548, allocations: 97.56 kB / 0.5905 GB, free: 13.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.4551, allocations: 390.3 kB / 0.5909 GB, free: 13.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.4554, allocations: 168 kB / 0.591 GB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4554, allocations: 4 kB / 0.591 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000668/0.456, allocations: 485.3 kB / 0.5915 GB, free: 12.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4561, allocations: 4 kB / 0.5915 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4561, allocations: 12 kB / 0.5915 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.4561, allocations: 12 kB / 0.5915 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.4567, allocations: 179.7 kB / 0.5917 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.4567, allocations: 24.36 kB / 0.5917 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.457, allocations: 51.38 kB / 0.5918 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.457, allocations: 32 kB / 0.5918 GB, free: 12.23 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.0001018/0.4571, allocations: 128.6 kB / 0.5919 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.4573, allocations: 35.62 kB / 0.592 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.449e-05/0.4574, allocations: 41.64 kB / 0.592 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4574, allocations: 8 kB / 0.592 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4575, allocations: 0 / 0.592 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4575, allocations: 11.81 kB / 0.592 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.4583, allocations: 353.7 kB / 0.5924 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4583, allocations: 4 kB / 0.5924 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.459, allocations: 127.9 kB / 0.5925 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.459, allocations: 7.984 kB / 0.5925 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.459, allocations: 8 kB / 0.5925 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.459, allocations: 4 kB / 0.5925 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.459, allocations: 0 / 0.5925 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008107/0.4599, allocations: 1.132 MB / 0.5936 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.4599, allocations: 112.7 kB / 0.5937 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.46, allocations: 7.984 kB / 0.5937 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.4604, allocations: 0 / 0.5937 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4605, allocations: 27.88 kB / 0.5937 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4605, allocations: 20 kB / 0.5938 GB, free: 10.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001188/0.4606, allocations: 149.2 kB / 0.5939 GB, free: 9.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007601/0.4614, allocations: 119.6 kB / 0.594 GB, free: 9.82 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.0001443/0.4615, allocations: 117.1 kB / 0.5941 GB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.462, allocations: 308.4 kB / 0.5944 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.462, allocations: 0 / 0.5944 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.4622, allocations: 116.5 kB / 0.5945 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/0.4629, allocations: 69.72 kB / 0.5946 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.4654, allocations: 1.881 MB / 0.5964 GB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.466, allocations: 0.8717 MB / 0.5973 GB, free: 6.383 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.466, allocations: 0 / 0.5973 GB, free: 6.383 MB / 410.7 MB Notification: Performance of Templates: time 0.00776/0.4737, allocations: 3.825 MB / 0.601 GB, free: 2.59 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches