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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001103, allocations: 111.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 79.81 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3592, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003863/0.3631, allocations: 3.079 MB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.3638, allocations: 419.5 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.364, allocations: 7.219 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.3641, allocations: 66.8 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3644, allocations: 173.1 kB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3646, allocations: 98.19 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.3651, allocations: 0.5404 MB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3654, allocations: 162.4 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3656, allocations: 209.7 kB / 0.5363 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.3659, allocations: 218.7 kB / 0.5365 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.3659, allocations: 39.81 kB / 0.5365 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.366, allocations: 40.09 kB / 0.5366 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3661, allocations: 98.41 kB / 0.5366 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.3663, allocations: 243 kB / 0.5369 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3669, allocations: 0.5282 MB / 0.5374 GB, free: 9.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3669, allocations: 0.9688 kB / 0.5374 GB, free: 9.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3669, allocations: 0 / 0.5374 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3669, allocations: 0 / 0.5374 GB, free: 9.211 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.001005/0.3679, allocations: 0.7266 MB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.368, allocations: 9.688 kB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3681, allocations: 58.81 kB / 0.5382 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3684, allocations: 291.6 kB / 0.5385 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3684, allocations: 36.47 kB / 0.5385 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.3685, allocations: 52.39 kB / 0.5385 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.3691, allocations: 457.4 kB / 0.539 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.3692, allocations: 16.48 kB / 0.539 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3692, allocations: 24.19 kB / 0.539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3693, allocations: 11.94 kB / 0.539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.3697, allocations: 261.4 kB / 0.5393 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.3718, allocations: 1.7 MB / 0.5409 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.3723, allocations: 414.7 kB / 0.5413 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3725, allocations: 151 kB / 0.5415 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3726, allocations: 8.312 kB / 0.5415 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.3726, allocations: 51.14 kB / 0.5415 GB, free: 5.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.983e-06/0.3726, allocations: 3.938 kB / 0.5415 GB, free: 5.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007242/0.3733, allocations: 356.4 kB / 0.5419 GB, free: 5.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3735, allocations: 271 kB / 0.5421 GB, free: 5.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3737, allocations: 255.7 kB / 0.5424 GB, free: 5.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3738, allocations: 31.98 kB / 0.5424 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3739, allocations: 249.8 kB / 0.5426 GB, free: 4.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.374, allocations: 188.6 kB / 0.5428 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3742, allocations: 111 kB / 0.5429 GB, free: 4.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3743, allocations: 351.4 kB / 0.5433 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3745, allocations: 126.6 kB / 0.5434 GB, free: 4.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.3749, allocations: 418.3 kB / 0.5438 GB, free: 3.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.3756, allocations: 0.5779 MB / 0.5443 GB, free: 3.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.3756, allocations: 2.188 kB / 0.5443 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008764/0.3765, allocations: 0.568 MB / 0.5449 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3765, allocations: 11 kB / 0.5449 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3765, allocations: 11.19 kB / 0.5449 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.3766, allocations: 13.41 kB / 0.5449 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.3771, allocations: 176.8 kB / 0.5451 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/0.3772, allocations: 23.19 kB / 0.5451 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3775, allocations: 70.48 kB / 0.5452 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.3776, allocations: 36.34 kB / 0.5452 GB, free: 2.77 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.000183/0.3777, allocations: 190.1 kB / 0.5454 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3779, allocations: 38.83 kB / 0.5454 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.378, allocations: 43.23 kB / 0.5455 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.378, allocations: 1.438 kB / 0.5455 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.378, allocations: 6.281 kB / 0.5455 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3782, allocations: 121.4 kB / 0.5456 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.3782, allocations: 12.56 kB / 0.5456 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.3786, allocations: 11.53 kB / 0.5456 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3787, allocations: 25.91 kB / 0.5457 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001229/0.3799, allocations: 1.078 MB / 0.5467 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000975/0.3809, allocations: 1.233 MB / 0.5479 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000184/0.3811, allocations: 123.8 kB / 0.548 GB, free: 156 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.3813, allocations: 170 kB / 0.5482 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.3813, allocations: 0 / 0.5482 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.3826, allocations: 367.9 kB / 0.5485 GB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 0.00305/0.3857, allocations: 2.455 MB / 0.5509 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.009507/0.3952, allocations: 4.693 MB / 0.5555 GB, free: 8.449 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches