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.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.0009352/0.0009352, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009627/0.0009627, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.921/0.921, allocations: 177.1 MB / 205 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2879/0.2879, allocations: 32.8 MB / 294.3 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.728e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002698/0.002716, allocations: 3.068 MB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.003413, allocations: 418.5 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.003551, allocations: 15.88 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.003647, allocations: 63.31 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.00388, allocations: 174.4 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004066, allocations: 107.8 kB / 379.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.00441, allocations: 0.5672 MB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.004575, allocations: 105.2 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.004824, allocations: 319.4 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.004976, allocations: 151.6 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.00504, allocations: 40 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.005102, allocations: 44 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.005157, allocations: 99.58 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.00528, allocations: 179.6 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.005563, allocations: 350.7 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005566, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005567, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005572, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.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.0006256/0.006197, allocations: 0.7415 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.006229, allocations: 8.031 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.006318, allocations: 92.66 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.006533, allocations: 240.4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.006554, allocations: 29.38 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.006614, allocations: 64.31 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.007033, allocations: 408 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.007054, allocations: 16.06 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.00708, allocations: 20.38 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.007093, allocations: 12.38 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.007303, allocations: 181.6 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.00855, allocations: 1.911 MB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.008888, allocations: 416.2 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.009013, allocations: 153.3 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.009029, allocations: 11.94 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.009056, allocations: 53.31 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.009058, allocations: 4 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.000437/0.009495, allocations: 309.1 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.009571, allocations: 269 kB / 386.6 MB, free: 9.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.00973, allocations: 292.5 kB / 386.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.009746, allocations: 33.7 kB / 386.9 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.00986, allocations: 298.9 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.00995, allocations: 186.4 kB / 387.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.01004, allocations: 120.8 kB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01015, allocations: 0.5195 MB / 388 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.01025, allocations: 73.94 kB / 388.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.01051, allocations: 0.4892 MB / 388.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.01092, allocations: 0.6159 MB / 389.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01093, allocations: 0 / 389.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000471/0.0114, allocations: 0.5208 MB / 389.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01141, allocations: 8 kB / 389.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.01142, allocations: 12 kB / 389.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01144, allocations: 12 kB / 389.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.01174, allocations: 183.7 kB / 389.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.01176, allocations: 19.92 kB / 389.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.01189, allocations: 59.58 kB / 390 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.01192, allocations: 36 kB / 390 MB, free: 5.77 MB / 362.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.0001059/0.01202, allocations: 212.4 kB / 390.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.01214, allocations: 47.81 kB / 390.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.01219, allocations: 41.77 kB / 390.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01219, allocations: 8 kB / 390.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.0122, allocations: 3.938 kB / 390.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.0122, allocations: 7.984 kB / 390.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.01271, allocations: 304.2 kB / 390.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01271, allocations: 0 / 390.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.01301, allocations: 123.9 kB / 390.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01301, allocations: 4 kB / 390.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.01304, allocations: 15.98 kB / 390.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01304, allocations: 8 kB / 390.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01305, allocations: 4 kB / 390.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.01362, allocations: 1.419 MB / 392.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.01365, allocations: 43.64 kB / 392.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01368, allocations: 8.125 kB / 392.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.01389, allocations: 19.98 kB / 392.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.01393, allocations: 35.83 kB / 392.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01394, allocations: 16 kB / 392.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.01402, allocations: 193.1 kB / 392.5 MB, free: 3.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01402, allocations: 0 / 392.5 MB, free: 3.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.01449, allocations: 135.8 kB / 392.6 MB, free: 3.066 MB / 362.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.027e-05/0.01457, allocations: 111.2 kB / 392.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.01491, allocations: 294.1 kB / 393 MB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01491, allocations: 1.812 kB / 393 MB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.01501, allocations: 123.4 kB / 393.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.0157, allocations: 103.2 kB / 393.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.01726, allocations: 1.516 MB / 394.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.411e-05/0.01736, allocations: 117.7 kB / 394.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.875e-05/0.01745, allocations: 51.42 kB / 394.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.0175, allocations: 32.5 kB / 395 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0175, allocations: 4 kB / 395 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of Templates: time 0.005572/0.02307, allocations: 4.102 MB / 399.1 MB, free: 12.61 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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","",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.2470191940665245]