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.001111/0.001111, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001347/0.001347, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.15/1.15, 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.3748/0.3748, allocations: 32.8 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 179] 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.854e-06/1.854e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/3.974e-05, allocations: 13.48 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005278/0.005318, allocations: 3.029 MB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.006731, allocations: 422.5 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.007108, allocations: 11.94 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.007248, allocations: 67.31 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.007692, allocations: 174.4 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.008058, allocations: 107.8 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.008765, allocations: 0.5556 MB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.009035, allocations: 113.2 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.009573, allocations: 319.3 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.00981, allocations: 163.5 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.00987, allocations: 40 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.009943, allocations: 40 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.01001, allocations: 99.64 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.01017, allocations: 171.7 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.01058, allocations: 354.6 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01059, allocations: 0 / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.01059, allocations: 0 / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.0106, allocations: 4 kB / 382.1 MB, free: 14.71 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.001304/0.01191, allocations: 0.7492 MB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.01196, allocations: 12.03 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01208, allocations: 88.66 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.01236, allocations: 236.3 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.01239, allocations: 37.38 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.01246, allocations: 56.31 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.01288, allocations: 387.9 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.01291, allocations: 8.141 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.01293, allocations: 16.38 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.01295, allocations: 16.36 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.01313, allocations: 146.1 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.01494, allocations: 1.865 MB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.01533, allocations: 411.9 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.01545, allocations: 137.1 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.01547, allocations: 8.156 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.01551, allocations: 65.23 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.555e-06/0.01552, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004975/0.01601, allocations: 281.5 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.01614, allocations: 273 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.01634, allocations: 292.3 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.01636, allocations: 33.7 kB / 387.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.01651, allocations: 302.8 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.01661, allocations: 186.4 kB / 387.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.01672, allocations: 124.2 kB / 387.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.01689, allocations: 0.5234 MB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.01697, allocations: 57.94 kB / 388.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.01729, allocations: 488.8 kB / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.01825, allocations: 0.592 MB / 389.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.01826, allocations: 0 / 389.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005508/0.01881, allocations: 482.1 kB / 389.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.01884, allocations: 11.98 kB / 389.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.01885, allocations: 8 kB / 389.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.01888, allocations: 20.06 kB / 389.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.01919, allocations: 183.7 kB / 390.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.01921, allocations: 19.94 kB / 390.1 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.0194, allocations: 63.58 kB / 390.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.01943, allocations: 28 kB / 390.2 MB, free: 5.762 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.0001502/0.01958, allocations: 204.2 kB / 390.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.0197, allocations: 51.81 kB / 390.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.01976, allocations: 37.77 kB / 390.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01977, allocations: 15.98 kB / 390.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.01978, allocations: 4 kB / 390.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01979, allocations: 0 / 390.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.0204, allocations: 256.8 kB / 390.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.0204, allocations: 4 kB / 390.8 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.02071, allocations: 127.8 kB / 390.9 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.02072, allocations: 4 kB / 390.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.02074, allocations: 12 kB / 390.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.02075, allocations: 4 kB / 390.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.02075, allocations: 4 kB / 390.9 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.02158, allocations: 1.408 MB / 392.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.02163, allocations: 47.56 kB / 392.4 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.02166, allocations: 16 kB / 392.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.02187, allocations: 4 kB / 392.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.02191, allocations: 31.95 kB / 392.4 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.02193, allocations: 15.92 kB / 392.4 MB, free: 3.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.02203, allocations: 193.1 kB / 392.6 MB, free: 3.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02203, allocations: 3.938 kB / 392.6 MB, free: 3.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.02266, allocations: 135.8 kB / 392.8 MB, free: 3.137 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 0.0001514/0.02281, allocations: 111.8 kB / 392.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.0232, allocations: 271.2 kB / 393.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.0232, allocations: 0 / 393.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.0233, allocations: 112.3 kB / 393.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.02409, allocations: 101.5 kB / 393.3 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.02603, allocations: 1.516 MB / 394.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.02616, allocations: 125.7 kB / 395 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.02631, allocations: 47.44 kB / 395 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.02649, allocations: 162.1 kB / 395.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02649, allocations: 0 / 395.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of Templates: time 0.008968/0.03546, allocations: 4.472 MB / 399.7 MB, free: 12.23 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.6707865479402244]