Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001123/0.001123, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0013/0.0013, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2791/0.2791, allocations: 34.26 MB / 296 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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.716e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003459/0.003486, allocations: 2.871 MB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004897, allocations: 0.7788 MB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.005088, allocations: 11.94 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.005271, allocations: 71.25 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.00576, allocations: 130.8 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.006124, allocations: 123.6 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.006552, allocations: 470.1 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.006777, allocations: 122.8 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.007229, allocations: 263.4 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.007518, allocations: 139.6 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.007587, allocations: 40 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.007672, allocations: 39.98 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.00773, allocations: 87.66 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.007844, allocations: 147.6 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.008173, allocations: 298.8 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008176, allocations: 0 / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008176, allocations: 0 / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.008183, allocations: 0 / 383.6 MB, free: 13.39 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007687/0.008951, allocations: 0.7104 MB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.009, allocations: 12.02 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.009283, allocations: 96.64 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.009593, allocations: 240 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.009613, allocations: 29.38 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.009666, allocations: 40.38 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.01008, allocations: 326.7 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.0101, allocations: 8.141 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.01012, allocations: 20.36 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01013, allocations: 11.94 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.01035, allocations: 135.8 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01142, allocations: 1.041 MB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.01177, allocations: 269.5 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.01193, allocations: 127.2 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.01195, allocations: 4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.01198, allocations: 41.39 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.01198, allocations: 0 / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002287/0.01427, allocations: 1.767 MB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.01432, allocations: 114.8 kB / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.01477, allocations: 246.7 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.0148, allocations: 41.64 kB / 388.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.0149, allocations: 240.2 kB / 389 MB, free: 7.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.01501, allocations: 206.2 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.0151, allocations: 92 kB / 389.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01523, allocations: 0.5118 MB / 389.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01535, allocations: 65.27 kB / 389.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.01554, allocations: 202.7 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.01586, allocations: 308 kB / 390.4 MB, free: 6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01586, allocations: 3.938 kB / 390.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005458/0.01641, allocations: 451.9 kB / 390.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01643, allocations: 11.94 kB / 390.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01644, allocations: 0 / 390.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.01673, allocations: 131.2 kB / 391 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.01696, allocations: 91.83 kB / 391.1 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.02064, allocations: 6.359 MB / 397.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.02079, allocations: 16 kB / 397.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.02081, allocations: 20 kB / 397.5 MB, free: 14.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.02098, allocations: 196.4 kB / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.02106, allocations: 59.7 kB / 397.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.02111, allocations: 41.81 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02111, allocations: 7.984 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.02112, allocations: 4 kB / 397.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.02113, allocations: 7.984 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.02229, allocations: 1.19 MB / 399 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.02229, allocations: 4 kB / 399 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.02252, allocations: 91.89 kB / 399.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.02271, allocations: 91.09 kB / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.02274, allocations: 11.98 kB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.0264, allocations: 5.421 MB / 404.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.02641, allocations: 3.938 kB / 404.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.02755, allocations: 0.8864 MB / 405.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.02762, allocations: 27.81 kB / 405.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.02766, allocations: 12 kB / 405.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.02789, allocations: 12 kB / 405.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.02802, allocations: 47.88 kB / 405.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.02805, allocations: 20 kB / 405.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.02818, allocations: 177.8 kB / 405.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02818, allocations: 0 / 405.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008322/0.02901, allocations: 120 kB / 405.9 MB, free: 5.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.02918, allocations: 107.2 kB / 406 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.0304, allocations: 0.8456 MB / 406.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.0304, allocations: 0 / 406.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.03083, allocations: 0.6878 MB / 407.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.03127, allocations: 64.89 kB / 407.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.03267, allocations: 0.9581 MB / 408.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.03277, allocations: 122.4 kB / 408.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.163e-05/0.03286, allocations: 31.28 kB / 408.7 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.03292, allocations: 36.48 kB / 408.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.03292, allocations: 0 / 408.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of Templates: time 0.007052/0.03997, allocations: 4.452 MB / 413.2 MB, free: 14.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.4274026611819863]