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.001366/0.001366, allocations: 80.8 kB / 21.5 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.001747/0.001747, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.116/1.116, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2368/0.2368, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.613e-06/1.613e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.689e-05, allocations: 2.875 kB / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004376/0.004403, allocations: 3.033 MB / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.005663, allocations: 442.1 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.005915, allocations: 11.94 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.006069, allocations: 63.31 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.006553, allocations: 178.4 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.006875, allocations: 99.86 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.007517, allocations: 0.5645 MB / 327.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.007803, allocations: 121.8 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.008283, allocations: 315.4 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.008521, allocations: 155.6 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.008596, allocations: 40 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.008665, allocations: 43.94 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.008745, allocations: 99.64 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.008928, allocations: 175.7 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.009458, allocations: 354.6 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.009462, allocations: 4 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009464, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.009473, allocations: 0 / 328.9 MB, free: 4.027 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.0008864/0.01036, allocations: 0.6257 MB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.0104, allocations: 12.03 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.01053, allocations: 76.88 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.01082, allocations: 197.7 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.01086, allocations: 41.38 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.01094, allocations: 56.31 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.01139, allocations: 370.5 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.01142, allocations: 8.141 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.01145, allocations: 16.38 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.01147, allocations: 12.38 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.01184, allocations: 138.5 kB / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.0137, allocations: 1.338 MB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.01399, allocations: 315.5 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.01407, allocations: 112.1 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.01409, allocations: 15.94 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.01411, allocations: 38.56 kB / 332.2 MB, free: 444 kB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.01412, allocations: 0 / 332.2 MB, free: 444 kB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.000357/0.01447, allocations: 238.1 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.01456, allocations: 273 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01471, allocations: 241.1 kB / 332.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01472, allocations: 37.7 kB / 333 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.01481, allocations: 236.2 kB / 333.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.01489, allocations: 194.3 kB / 333.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.01498, allocations: 114.6 kB / 333.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.01506, allocations: 354.7 kB / 333.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.01511, allocations: 54.47 kB / 333.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01529, allocations: 365.6 kB / 334.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.01559, allocations: 474 kB / 334.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.0156, allocations: 4.5 kB / 334.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003372/0.01593, allocations: 413.6 kB / 335.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01595, allocations: 12 kB / 335.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01596, allocations: 8 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01598, allocations: 16 kB / 335.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.01628, allocations: 179.7 kB / 335.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01629, allocations: 19.92 kB / 335.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.01644, allocations: 59.58 kB / 335.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.01646, allocations: 32.23 kB / 335.5 MB, free: 12.79 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 9.587e-05/0.01656, allocations: 161.5 kB / 335.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.01666, allocations: 40 kB / 335.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.01671, allocations: 41.77 kB / 335.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01671, allocations: 8 kB / 335.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01672, allocations: 4 kB / 335.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01672, allocations: 3.984 kB / 335.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.01723, allocations: 221.5 kB / 335.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01723, allocations: 3.938 kB / 335.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.01754, allocations: 127.8 kB / 336 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01754, allocations: 4 kB / 336.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.01756, allocations: 12 kB / 336.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01756, allocations: 4 kB / 336.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01757, allocations: 8 kB / 336.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.01795, allocations: 0.963 MB / 337 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.01798, allocations: 39.69 kB / 337.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01801, allocations: 12 kB / 337.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.01822, allocations: 8 kB / 337.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.01825, allocations: 39.81 kB / 337.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01826, allocations: 12 kB / 337.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.01831, allocations: 74.72 kB / 337.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01831, allocations: 4 kB / 337.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.01878, allocations: 135.8 kB / 337.4 MB, free: 10.82 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 0.0001016/0.01888, allocations: 96.97 kB / 337.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01911, allocations: 259.7 kB / 337.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.01912, allocations: 4 kB / 337.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.01919, allocations: 110.1 kB / 337.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.01985, allocations: 94.8 kB / 337.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02088, allocations: 1.005 MB / 338.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.02098, allocations: 121.8 kB / 339 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.02107, allocations: 51.44 kB / 339.1 MB, free: 9.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.02122, allocations: 131.3 kB / 339.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02122, allocations: 0 / 339.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of Templates: time 0.005961/0.02718, allocations: 4.491 MB / 343.7 MB, free: 4.52 MB / 314.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.155025538057089]