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.001514/0.001514, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001822/0.001822, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.9955/0.9955, allocations: 158.6 MB / 186 MB, free: 2.918 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.1448/0.1448, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.433e-06/1.433e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.915e-05, allocations: 10.25 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002413/0.002432, allocations: 3.052 MB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004713/0.002903, allocations: 418.5 kB / 351.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003013, allocations: 11.94 kB / 351.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/0.003095, allocations: 63.31 kB / 351.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.003293, allocations: 186.3 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.003469, allocations: 99.84 kB / 351.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.003728, allocations: 0.5556 MB / 352 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.003897, allocations: 109.2 kB / 352.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.004087, allocations: 323.3 kB / 352.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.004222, allocations: 159.5 kB / 352.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.004263, allocations: 40 kB / 352.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.004299, allocations: 40 kB / 352.7 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.004341, allocations: 103.6 kB / 352.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.004433, allocations: 179.6 kB / 353 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.004677, allocations: 350.6 kB / 353.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004679, allocations: 0 / 353.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004681, allocations: 0 / 353.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004686, allocations: 0 / 353.3 MB, free: 4.117 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.0005354/0.005222, allocations: 0.7493 MB / 354.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.005254, allocations: 12.03 kB / 354.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.005333, allocations: 88.66 kB / 354.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.005524, allocations: 235.8 kB / 354.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.005542, allocations: 33.38 kB / 354.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.005589, allocations: 56.33 kB / 354.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.005909, allocations: 408.1 kB / 354.9 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.00593, allocations: 12.12 kB / 354.9 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.005953, allocations: 20.38 kB / 354.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.005965, allocations: 12.38 kB / 354.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.006157, allocations: 180.9 kB / 355.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.00719, allocations: 1.919 MB / 357 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.007534, allocations: 428 kB / 357.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.007661, allocations: 145.1 kB / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.007674, allocations: 8 kB / 357.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.007701, allocations: 53.33 kB / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.007703, allocations: 0 / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004665/0.00817, allocations: 309.2 kB / 357.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.008259, allocations: 273 kB / 358.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.008444, allocations: 292.3 kB / 358.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.00846, allocations: 29.7 kB / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.0086, allocations: 302.9 kB / 358.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/0.008695, allocations: 186.9 kB / 359 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.008787, allocations: 116.3 kB / 359.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.008928, allocations: 0.5235 MB / 359.6 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.00903, allocations: 69.95 kB / 359.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.009338, allocations: 0.4969 MB / 360.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.01004, allocations: 0.6121 MB / 360.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.01004, allocations: 4 kB / 360.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005223/0.01057, allocations: 0.5129 MB / 361.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01058, allocations: 8 kB / 361.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.01059, allocations: 8 kB / 361.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.01062, allocations: 16 kB / 361.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.01094, allocations: 179.7 kB / 361.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.01096, allocations: 23.92 kB / 361.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.0111, allocations: 67.52 kB / 361.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.01112, allocations: 32.34 kB / 361.6 MB, free: 10.93 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.000118/0.01124, allocations: 212.2 kB / 361.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.01137, allocations: 51.81 kB / 361.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.01142, allocations: 41.77 kB / 361.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01142, allocations: 7.984 kB / 362 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01143, allocations: 4 kB / 362 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.01144, allocations: 7.984 kB / 362 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.01198, allocations: 300.2 kB / 362.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01198, allocations: 4 kB / 362.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.01232, allocations: 131.8 kB / 362.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01233, allocations: 4 kB / 362.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.01235, allocations: 12 kB / 362.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01236, allocations: 7.984 kB / 362.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01236, allocations: 4.125 kB / 362.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.01303, allocations: 1.419 MB / 363.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.01306, allocations: 39.64 kB / 363.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.01309, allocations: 12 kB / 363.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.0133, allocations: 8 kB / 363.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01334, allocations: 39.88 kB / 363.9 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01335, allocations: 16 kB / 363.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.645e-05/0.01344, allocations: 193.1 kB / 364.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 0 / 364.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.01392, allocations: 135.8 kB / 364.3 MB, free: 8.223 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.481e-05/0.01401, allocations: 107.2 kB / 364.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.01433, allocations: 296 kB / 364.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01433, allocations: 4 kB / 364.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01443, allocations: 121.4 kB / 364.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.01516, allocations: 96.02 kB / 364.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.01685, allocations: 1.516 MB / 366.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01696, allocations: 117.8 kB / 366.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.188e-05/0.01705, allocations: 47.44 kB / 366.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.0171, allocations: 36.5 kB / 366.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of SimCode: time 6.32e-07/0.0171, allocations: 0 / 366.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of Templates: time 0.007069/0.02417, allocations: 4.115 MB / 370.7 MB, free: 1.762 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.370610556099564]