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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 183 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007562/0.0007563, allocations: 105 kB / 293.3 MB, free: 10.77 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.3257/0.3257, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3439, allocations: 61.87 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.4607, allocations: 87.31 MB / 0.596 GB, free: 7.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.461, allocations: 67.95 kB / 0.596 GB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02379/0.4849, allocations: 7.285 MB / 0.6032 GB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4849, allocations: 0 / 0.6032 GB, free: 424 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4849, allocations: 8 kB / 0.6032 GB, free: 416 kB / 410.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.0007975/0.4857, allocations: 0.62 MB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4858, allocations: 8.031 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.4859, allocations: 56.28 kB / 0.6038 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.486, allocations: 225.5 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.4861, allocations: 33.38 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.4862, allocations: 52.28 kB / 0.6041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.4868, allocations: 458.6 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.4869, allocations: 12.08 kB / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.4869, allocations: 23.94 kB / 0.6046 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4869, allocations: 12 kB / 0.6046 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.4873, allocations: 256.1 kB / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.4893, allocations: 1.706 MB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.4898, allocations: 428.2 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.4899, allocations: 155.7 kB / 0.6071 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.49, allocations: 4 kB / 0.6071 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.49, allocations: 50.5 kB / 0.6071 GB, free: 12.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.49, allocations: 0 / 0.6071 GB, free: 12.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007742/0.4908, allocations: 353.7 kB / 0.6075 GB, free: 11.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.4909, allocations: 273 kB / 0.6077 GB, free: 11.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.4913, allocations: 250.6 kB / 0.608 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4913, allocations: 37.7 kB / 0.608 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4915, allocations: 239.6 kB / 0.6082 GB, free: 10.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.4917, allocations: 181.4 kB / 0.6084 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.4917, allocations: 16 kB / 0.6084 GB, free: 10.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4919, allocations: 346.8 kB / 0.6088 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.4922, allocations: 122 kB / 0.6089 GB, free: 10.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.4927, allocations: 413.4 kB / 0.6093 GB, free: 9.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.4936, allocations: 0.5732 MB / 0.6098 GB, free: 8.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4936, allocations: 0 / 0.6098 GB, free: 8.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001164/0.4948, allocations: 0.5634 MB / 0.6104 GB, free: 8.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4948, allocations: 8 kB / 0.6104 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4949, allocations: 12 kB / 0.6104 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.4949, allocations: 12 kB / 0.6104 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.4957, allocations: 179.7 kB / 0.6106 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.084e-05/0.4957, allocations: 28.36 kB / 0.6106 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.4961, allocations: 71.31 kB / 0.6107 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.4962, allocations: 32 kB / 0.6107 GB, free: 7.992 MB / 426.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 () * Number of clocked 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.0002624/0.4965, allocations: 185.5 kB / 0.6109 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.4967, allocations: 35.62 kB / 0.6109 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4969, allocations: 41.7 kB / 0.611 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4969, allocations: 12.56 kB / 0.611 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4969, allocations: 0 / 0.611 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4969, allocations: 7.984 kB / 0.611 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.4983, allocations: 417.1 kB / 0.6114 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4983, allocations: 8 kB / 0.6114 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.4991, allocations: 123.9 kB / 0.6115 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.4991, allocations: 4 kB / 0.6115 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.4992, allocations: 12 kB / 0.6115 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4992, allocations: 11.88 kB / 0.6115 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.4992, allocations: 7.938 kB / 0.6115 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.5003, allocations: 1.076 MB / 0.6126 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.5004, allocations: 116.6 kB / 0.6127 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.5005, allocations: 19.94 kB / 0.6127 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.5011, allocations: 7.938 kB / 0.6127 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.5012, allocations: 31.97 kB / 0.6127 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5012, allocations: 19.98 kB / 0.6128 GB, free: 5.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.5015, allocations: 166 kB / 0.6129 GB, free: 5.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5015, allocations: 0 / 0.6129 GB, free: 5.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001293/0.5028, allocations: 135.7 kB / 0.6131 GB, free: 5.48 MB / 426.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 () * Number of clocked 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.0002145/0.503, allocations: 116.3 kB / 0.6132 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007436/0.5038, allocations: 346 kB / 0.6135 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5038, allocations: 4.188 kB / 0.6135 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.504, allocations: 131.7 kB / 0.6136 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.5058, allocations: 90.19 kB / 0.6137 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.5093, allocations: 2.435 MB / 0.6161 GB, free: 2.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.5097, allocations: 0.8239 MB / 0.6169 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.5099, allocations: 56.14 kB / 0.6169 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.51, allocations: 35.44 kB / 0.617 GB, free: 1.371 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.51, allocations: 0 / 0.617 GB, free: 1.371 MB / 426.7 MB Notification: Performance of Templates: time 0.007328/0.5173, allocations: 3.792 MB / 0.6207 GB, free: 13.61 MB / 442.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/jenkins1/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