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.001246/0.001246, allocations: 110.3 kB / 17.78 MB, free: 5.184 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.001298/0.001298, allocations: 184.1 kB / 18.71 MB, free: 4.258 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2291/0.2291, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4254, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004664/0.4301, allocations: 3.062 MB / 0.5219 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.431, allocations: 420.1 kB / 0.5223 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.4312, allocations: 11.34 kB / 0.5223 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.4314, allocations: 67.73 kB / 0.5224 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.4317, allocations: 175.3 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.432, allocations: 99.92 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.4325, allocations: 0.5346 MB / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.4329, allocations: 161.9 kB / 0.5233 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.4331, allocations: 210.7 kB / 0.5235 GB, free: 452 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.4334, allocations: 213.5 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.4335, allocations: 39.25 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.4336, allocations: 40.38 kB / 0.5238 GB, free: 344 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.4337, allocations: 97.22 kB / 0.5239 GB, free: 276 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.434, allocations: 246.3 kB / 0.5241 GB, free: 136 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.4348, allocations: 0.5237 MB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4348, allocations: 0.5156 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4348, allocations: 1.219 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4348, 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.001207/0.436, allocations: 0.711 MB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4361, allocations: 9.109 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4362, allocations: 56.03 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.4367, allocations: 294.4 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4367, allocations: 31.25 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.4368, allocations: 62.25 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.4377, allocations: 457.3 kB / 0.5262 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.4377, allocations: 9.578 kB / 0.5262 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.4378, allocations: 24.06 kB / 0.5262 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.4378, allocations: 12.38 kB / 0.5262 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.4383, allocations: 257.9 kB / 0.5265 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.4407, allocations: 1.69 MB / 0.5281 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.4413, allocations: 417.7 kB / 0.5285 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.4416, allocations: 160.1 kB / 0.5287 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.4416, allocations: 4.125 kB / 0.5287 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.4417, allocations: 48.55 kB / 0.5287 GB, free: 12.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 5.931e-06/0.4417, allocations: 4 kB / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.001041/0.4427, allocations: 351.5 kB / 0.5291 GB, free: 12.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.4429, allocations: 283.7 kB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4433, allocations: 251.3 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4433, allocations: 31.14 kB / 0.5296 GB, free: 12.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4435, allocations: 241.6 kB / 0.5298 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.4437, allocations: 187.2 kB / 0.53 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4438, allocations: 111.8 kB / 0.5301 GB, free: 11.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4441, allocations: 351.5 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.4444, allocations: 117.7 kB / 0.5306 GB, free: 11.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.4449, allocations: 418.8 kB / 0.531 GB, free: 10.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.4456, allocations: 0.5778 MB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.4456, allocations: 2.75 kB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009439/0.4466, allocations: 0.5639 MB / 0.5321 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4466, allocations: 9.188 kB / 0.5321 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.4466, allocations: 15.11 kB / 0.5321 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.4467, allocations: 17.62 kB / 0.5321 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.4472, allocations: 180.4 kB / 0.5323 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.26e-05/0.4473, allocations: 26.05 kB / 0.5323 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.4476, allocations: 58.84 kB / 0.5324 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4476, allocations: 35.66 kB / 0.5324 GB, free: 9.746 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.0001936/0.4478, allocations: 183.3 kB / 0.5326 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4481, allocations: 42.3 kB / 0.5326 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.4482, allocations: 46.17 kB / 0.5327 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.4483, allocations: 11.22 kB / 0.5327 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.4483, allocations: 2.438 kB / 0.5327 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4483, allocations: 2.469 kB / 0.5327 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4493, allocations: 416 kB / 0.5331 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4493, allocations: 1.688 kB / 0.5331 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.4499, allocations: 127.7 kB / 0.5332 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4499, allocations: 3.156 kB / 0.5332 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.45, allocations: 14.59 kB / 0.5332 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.45, allocations: 10.83 kB / 0.5332 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.45, allocations: 7.109 kB / 0.5332 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.451, allocations: 1.083 MB / 0.5343 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.4511, allocations: 107.6 kB / 0.5344 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.4512, allocations: 13.94 kB / 0.5344 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.4516, allocations: 12.03 kB / 0.5344 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.4517, allocations: 37.94 kB / 0.5345 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4517, allocations: 13.28 kB / 0.5345 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.4519, allocations: 169.8 kB / 0.5346 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4519, allocations: 4 kB / 0.5346 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.4528, allocations: 135.7 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.0002604/0.453, allocations: 114 kB / 0.5349 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.4537, allocations: 353.2 kB / 0.5352 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4537, allocations: 0 / 0.5352 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.4539, allocations: 126.6 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.001273/0.4552, allocations: 104.7 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.002959/0.4581, allocations: 1.966 MB / 0.5374 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.4587, allocations: 0.8263 MB / 0.5382 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4589, allocations: 51.48 kB / 0.5382 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.459, allocations: 33.06 kB / 0.5382 GB, free: 5.156 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.459, allocations: 0 / 0.5382 GB, free: 5.156 MB / 398.1 MB Notification: Performance of Templates: time 0.009249/0.4682, allocations: 4.172 MB / 0.5423 GB, free: 3.129 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