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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.08 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4547, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004196/0.4589, allocations: 3.068 MB / 0.5219 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.4598, allocations: 420.6 kB / 0.5223 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.46, allocations: 7.281 kB / 0.5223 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.4602, allocations: 67.66 kB / 0.5224 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.4605, allocations: 165.4 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.4608, allocations: 95.08 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.4613, allocations: 0.5432 MB / 0.5231 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.4617, allocations: 161.4 kB / 0.5233 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.4619, allocations: 205.8 kB / 0.5235 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.4622, allocations: 218.4 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.447e-05/0.4623, allocations: 40.06 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.4624, allocations: 39.69 kB / 0.5238 GB, free: 348 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.4624, allocations: 100.5 kB / 0.5239 GB, free: 276 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.4627, allocations: 247.3 kB / 0.5241 GB, free: 136 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.4633, allocations: 0.524 MB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4633, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4633, allocations: 1.531 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.4633, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 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.00109/0.4644, allocations: 0.711 MB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4645, allocations: 8.656 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.4646, allocations: 50.97 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4649, allocations: 295.7 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4649, allocations: 36.56 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.465, allocations: 57.03 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.4658, allocations: 457.2 kB / 0.5262 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.4658, allocations: 9.109 kB / 0.5262 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.4659, allocations: 25.44 kB / 0.5262 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4659, allocations: 11 kB / 0.5262 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.4663, allocations: 258 kB / 0.5265 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.4685, allocations: 1.687 MB / 0.5281 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.4691, allocations: 423.7 kB / 0.5285 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.4693, allocations: 158.4 kB / 0.5287 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4693, allocations: 5.906 kB / 0.5287 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4694, allocations: 51.44 kB / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.4694, allocations: 0 / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007917/0.4702, allocations: 347.6 kB / 0.529 GB, free: 12.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.4704, allocations: 279.3 kB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.4707, allocations: 251.2 kB / 0.5296 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.4707, allocations: 36.3 kB / 0.5296 GB, free: 12.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4709, allocations: 241.5 kB / 0.5298 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4711, allocations: 187.1 kB / 0.53 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.4712, allocations: 115.2 kB / 0.5301 GB, free: 11.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4715, allocations: 351.2 kB / 0.5304 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4717, allocations: 114 kB / 0.5306 GB, free: 11.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.4723, allocations: 418.6 kB / 0.531 GB, free: 10.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.4731, allocations: 0.5777 MB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4731, allocations: 3.219 kB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009844/0.4741, allocations: 0.5642 MB / 0.5321 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.4742, allocations: 13.16 kB / 0.5321 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.4742, allocations: 10.41 kB / 0.5321 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.4742, allocations: 14.16 kB / 0.5321 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.4748, allocations: 180.5 kB / 0.5323 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/0.4749, allocations: 21.83 kB / 0.5323 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.4752, allocations: 66.41 kB / 0.5324 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.4752, allocations: 32.22 kB / 0.5324 GB, free: 9.75 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.4755, allocations: 198.5 kB / 0.5326 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4757, allocations: 34.72 kB / 0.5326 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.4758, allocations: 45.97 kB / 0.5327 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4758, allocations: 10.62 kB / 0.5327 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4758, allocations: 2.938 kB / 0.5327 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4758, allocations: 6.797 kB / 0.5327 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.4768, allocations: 420 kB / 0.5331 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4768, allocations: 1.281 kB / 0.5331 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.4773, allocations: 122.8 kB / 0.5332 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4774, allocations: 4.344 kB / 0.5332 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.4774, allocations: 14.78 kB / 0.5332 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.4774, allocations: 12.19 kB / 0.5332 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4774, allocations: 5.438 kB / 0.5332 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4786, allocations: 1.079 MB / 0.5343 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.4787, allocations: 112.8 kB / 0.5344 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.4787, allocations: 12.97 kB / 0.5344 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.4792, allocations: 11.66 kB / 0.5344 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4792, allocations: 29.97 kB / 0.5344 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4793, allocations: 22.55 kB / 0.5345 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.4795, allocations: 168.5 kB / 0.5346 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4795, allocations: 0 / 0.5346 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008859/0.4804, allocations: 136.4 kB / 0.5348 GB, free: 7.914 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.4806, allocations: 113.5 kB / 0.5349 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.4812, allocations: 353 kB / 0.5352 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4812, allocations: 1.062 kB / 0.5352 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.4813, allocations: 126.5 kB / 0.5353 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.4825, allocations: 104.3 kB / 0.5354 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.4855, allocations: 1.97 MB / 0.5373 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.486, allocations: 0.8255 MB / 0.5382 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.4862, allocations: 48.03 kB / 0.5382 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.4863, allocations: 37.03 kB / 0.5382 GB, free: 5.152 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4863, allocations: 0 / 0.5382 GB, free: 5.152 MB / 398.1 MB Notification: Performance of Templates: time 0.009337/0.4956, allocations: 4.261 MB / 0.5424 GB, free: 3.055 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches