Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8432/0.8432, allocations: 158.6 MB / 185.7 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1234/0.1234, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.133e-05, allocations: 6.25 kB / 347.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002408/0.002429, allocations: 3.059 MB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006231/0.003052, allocations: 418.5 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.003176, allocations: 11.94 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.003263, allocations: 59.31 kB / 351.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.003485, allocations: 186.3 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.003661, allocations: 103.8 kB / 351.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.00393, allocations: 0.5595 MB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.004095, allocations: 109.2 kB / 352.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.0043, allocations: 319.3 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.004437, allocations: 155.5 kB / 352.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.004474, allocations: 48 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.004513, allocations: 40 kB / 352.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.004552, allocations: 95.64 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.004645, allocations: 179.6 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.004883, allocations: 354.6 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004885, allocations: 0 / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004886, allocations: 0 / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.004891, allocations: 0 / 353.3 MB, free: 3.797 MB / 282.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.0005169/0.005408, allocations: 0.7454 MB / 354 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005442, allocations: 12.03 kB / 354.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.00552, allocations: 92.66 kB / 354.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.0057, allocations: 235.8 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.005718, allocations: 33.38 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.005769, allocations: 56.31 kB / 354.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.006069, allocations: 404.1 kB / 354.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.006087, allocations: 12.14 kB / 354.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.006108, allocations: 20.38 kB / 354.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.006119, allocations: 16.31 kB / 354.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.006297, allocations: 182.7 kB / 355.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.007356, allocations: 1.923 MB / 357 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.007718, allocations: 423.7 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.007845, allocations: 149.1 kB / 357.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.007862, allocations: 15.94 kB / 357.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.00789, allocations: 49.38 kB / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.007892, allocations: 0 / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004398/0.008331, allocations: 309.4 kB / 357.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.00841, allocations: 265 kB / 358.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.008578, allocations: 296.3 kB / 358.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.008598, allocations: 34.2 kB / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.008712, allocations: 294.9 kB / 358.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.008795, allocations: 190.4 kB / 359 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.008882, allocations: 124.2 kB / 359.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.009011, allocations: 0.5195 MB / 359.6 MB, free: 13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.009108, allocations: 73.94 kB / 359.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.009414, allocations: 496.9 kB / 360.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.009866, allocations: 0.616 MB / 360.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.009871, allocations: 4 kB / 360.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004973/0.01037, allocations: 0.5126 MB / 361.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01038, allocations: 8 kB / 361.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.01039, allocations: 12 kB / 361.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01041, allocations: 12 kB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.01071, allocations: 180.3 kB / 361.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.01072, allocations: 19.92 kB / 361.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.01086, allocations: 71.52 kB / 361.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.01088, allocations: 32 kB / 361.7 MB, free: 10.6 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.01099, allocations: 208.2 kB / 361.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.0111, allocations: 51.81 kB / 361.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.01115, allocations: 37.77 kB / 361.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01115, allocations: 8 kB / 361.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01116, allocations: 3.984 kB / 362 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01117, allocations: 7.984 kB / 362 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.01167, allocations: 304.2 kB / 362.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01167, allocations: 4 kB / 362.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.01197, allocations: 131.8 kB / 362.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01197, allocations: 4 kB / 362.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.012, allocations: 19.98 kB / 362.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01201, allocations: 4 kB / 362.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01201, allocations: 0 / 362.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.01272, allocations: 1.419 MB / 363.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.01275, allocations: 39.64 kB / 363.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01278, allocations: 20 kB / 363.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.01298, allocations: 4 kB / 363.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.01301, allocations: 43.81 kB / 363.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01302, allocations: 12 kB / 364 MB, free: 8.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.01311, allocations: 189.1 kB / 364.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01311, allocations: 4 kB / 364.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.01358, allocations: 135.8 kB / 364.3 MB, free: 7.895 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.287e-05/0.01366, allocations: 107.2 kB / 364.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.01398, allocations: 295.1 kB / 364.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01398, allocations: 0.8125 kB / 364.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.01408, allocations: 125.3 kB / 364.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.01476, allocations: 87.48 kB / 364.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.01637, allocations: 1.52 MB / 366.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.219e-05/0.01646, allocations: 117.8 kB / 366.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01655, allocations: 51.42 kB / 366.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.0166, allocations: 32.5 kB / 366.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0166, allocations: 4 kB / 366.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of Templates: time 0.005795/0.0224, allocations: 4.11 MB / 370.7 MB, free: 1.434 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2225471469573677]