Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009192/0.0009192, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001307/0.001307, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2585/0.2585, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.439e-05, allocations: 3.078 kB / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002901/0.002926, allocations: 3.031 MB / 328.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.00374, allocations: 442.1 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.003885, allocations: 11.94 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.003982, allocations: 63.3 kB / 328.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.004271, allocations: 182.4 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.004473, allocations: 103.8 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.004847, allocations: 0.5567 MB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.005007, allocations: 121.8 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.005261, allocations: 315.4 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.005431, allocations: 163.5 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.005476, allocations: 44 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.236e-05/0.005518, allocations: 40 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.005574, allocations: 91.66 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.005686, allocations: 179.7 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.005971, allocations: 354.6 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005973, allocations: 4 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005974, allocations: 0 / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.005978, allocations: 0 / 330.9 MB, free: 2.051 MB / 298.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.0005845/0.006563, allocations: 0.6259 MB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.006593, allocations: 8.031 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.006667, allocations: 80.88 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.006857, allocations: 197.7 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.00688, allocations: 37.38 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.006941, allocations: 60.3 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.007224, allocations: 354.5 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.007246, allocations: 16.11 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.007268, allocations: 24.38 kB / 332.3 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.00728, allocations: 12.38 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.007414, allocations: 130.5 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.008544, allocations: 1.346 MB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.0088, allocations: 311.6 kB / 334.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.008882, allocations: 108 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.008896, allocations: 15.94 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.008923, allocations: 54.48 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.008924, allocations: 0 / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003208/0.009245, allocations: 233.2 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.009339, allocations: 265 kB / 334.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.009473, allocations: 245 kB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.00949, allocations: 29.7 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.009591, allocations: 236.2 kB / 335.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.009679, allocations: 194.4 kB / 335.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.009762, allocations: 115.1 kB / 335.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.00986, allocations: 362.7 kB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.009913, allocations: 49.97 kB / 335.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01012, allocations: 357.5 kB / 336.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.01047, allocations: 482.8 kB / 336.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.01047, allocations: 4 kB / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003465/0.01082, allocations: 410 kB / 337.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01084, allocations: 8 kB / 337.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.01085, allocations: 12 kB / 337.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.01087, allocations: 15.98 kB / 337.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.01116, allocations: 179.7 kB / 337.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.01117, allocations: 23.92 kB / 337.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01131, allocations: 59.58 kB / 337.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.01133, allocations: 28.28 kB / 337.5 MB, free: 10.82 MB / 314.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.000102/0.01143, allocations: 165.5 kB / 337.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.01153, allocations: 43.95 kB / 337.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.01158, allocations: 37.77 kB / 337.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01158, allocations: 4 kB / 337.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01159, allocations: 4 kB / 337.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.01159, allocations: 4 kB / 337.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.01207, allocations: 221.5 kB / 337.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.01208, allocations: 7.938 kB / 337.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.01237, allocations: 123.9 kB / 338.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01238, allocations: 7.938 kB / 338.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.0124, allocations: 12 kB / 338.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.0124, allocations: 7.984 kB / 338.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01241, allocations: 3.984 kB / 338.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.01284, allocations: 0.9659 MB / 339.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.01287, allocations: 35.7 kB / 339.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.0129, allocations: 15.98 kB / 339.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.01311, allocations: 8 kB / 339.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.01313, allocations: 27.95 kB / 339.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01314, allocations: 16 kB / 339.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.906e-05/0.01319, allocations: 82.69 kB / 339.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 339.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004672/0.01366, allocations: 139.7 kB / 339.4 MB, free: 8.852 MB / 314.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 9.979e-05/0.01376, allocations: 86.3 kB / 339.5 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.01401, allocations: 268.8 kB / 339.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.01401, allocations: 4 kB / 339.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.01409, allocations: 104.9 kB / 339.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.01473, allocations: 101 kB / 339.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.01585, allocations: 1.013 MB / 341 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01596, allocations: 117.8 kB / 341.1 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.01607, allocations: 47.44 kB / 341.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.01622, allocations: 131.3 kB / 341.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01622, allocations: 0 / 341.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of Templates: time 0.006389/0.02261, allocations: 4.492 MB / 345.7 MB, free: 2.551 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0089188967831433]