Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001035/0.001035, allocations: 194.3 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 92.62 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/6.051e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4609, allocations: 87.54 MB / 0.5893 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4612, allocations: 62.94 kB / 0.5893 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01864/0.4799, allocations: 6.939 MB / 0.5961 GB, free: 9.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.4799, allocations: 8 kB / 0.5961 GB, free: 9.73 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.0009137/0.4809, allocations: 0.6103 MB / 0.5967 GB, free: 9.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4809, allocations: 8.031 kB / 0.5967 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.4811, allocations: 51.44 kB / 0.5968 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.4813, allocations: 222.3 kB / 0.597 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4814, allocations: 16 kB / 0.597 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.4815, allocations: 39.08 kB / 0.597 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004147/0.4819, allocations: 213.3 kB / 0.5972 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.4825, allocations: 374.8 kB / 0.5976 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.4826, allocations: 11.84 kB / 0.5976 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4826, allocations: 0 / 0.5976 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4826, allocations: 12 kB / 0.5976 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.4849, allocations: 1.622 MB / 0.5992 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.4853, allocations: 331.1 kB / 0.5995 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4855, allocations: 133.4 kB / 0.5996 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4855, allocations: 15.94 kB / 0.5996 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4855, allocations: 47.98 kB / 0.5997 GB, free: 6.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.245e-06/0.4855, allocations: 0.5625 kB / 0.5997 GB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006145/0.4862, allocations: 233.6 kB / 0.5999 GB, free: 6.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4863, allocations: 280.5 kB / 0.6002 GB, free: 5.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4865, allocations: 198.5 kB / 0.6004 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4866, allocations: 25.7 kB / 0.6004 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4867, allocations: 228.2 kB / 0.6006 GB, free: 5.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4868, allocations: 180.3 kB / 0.6008 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.4869, allocations: 4 kB / 0.6008 GB, free: 5.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.487, allocations: 348.2 kB / 0.6011 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.4873, allocations: 96.5 kB / 0.6012 GB, free: 4.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.4876, allocations: 388.6 kB / 0.6016 GB, free: 4.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.4879, allocations: 168.1 kB / 0.6017 GB, free: 4.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4879, allocations: 4 kB / 0.6017 GB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007379/0.4887, allocations: 478.2 kB / 0.6022 GB, free: 3.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4887, allocations: 7.984 kB / 0.6022 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.4887, allocations: 12 kB / 0.6022 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.4888, allocations: 19.94 kB / 0.6022 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.4894, allocations: 178 kB / 0.6024 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.4894, allocations: 23.92 kB / 0.6024 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.4897, allocations: 55.36 kB / 0.6025 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.4898, allocations: 33.75 kB / 0.6025 GB, free: 3.461 MB / 394.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.0001154/0.4899, allocations: 127.7 kB / 0.6026 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.4901, allocations: 39 kB / 0.6027 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.781e-05/0.4902, allocations: 39.77 kB / 0.6027 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.4902, allocations: 8 kB / 0.6027 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4902, allocations: 4 kB / 0.6027 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4902, allocations: 3.984 kB / 0.6027 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009621/0.4912, allocations: 354.5 kB / 0.6031 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4912, allocations: 4 kB / 0.6031 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.4918, allocations: 122.8 kB / 0.6032 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.4919, allocations: 7.984 kB / 0.6032 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.4919, allocations: 8 kB / 0.6032 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4919, allocations: 4 kB / 0.6032 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4919, allocations: 0 / 0.6032 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007954/0.4927, allocations: 1.138 MB / 0.6043 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.4928, allocations: 108.7 kB / 0.6044 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4929, allocations: 4.125 kB / 0.6044 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.4933, allocations: 8 kB / 0.6044 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.4934, allocations: 31.8 kB / 0.6045 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4934, allocations: 15 kB / 0.6045 GB, free: 1.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001165/0.4935, allocations: 150.6 kB / 0.6046 GB, free: 1.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008609/0.4944, allocations: 123.6 kB / 0.6047 GB, free: 1.242 MB / 394.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.0001416/0.4946, allocations: 102.2 kB / 0.6048 GB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.4951, allocations: 297.9 kB / 0.6051 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4951, allocations: 0 / 0.6051 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4953, allocations: 119 kB / 0.6052 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.4961, allocations: 73.14 kB / 0.6053 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.4987, allocations: 1.879 MB / 0.6071 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/0.4994, allocations: 0.8748 MB / 0.608 GB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4994, allocations: 3.938 kB / 0.608 GB, free: 13.97 MB / 410.7 MB Notification: Performance of Templates: time 0.008614/0.5081, allocations: 3.838 MB / 0.6117 GB, free: 10.18 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches