Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001573/0.001573, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001597/0.001597, allocations: 168.8 kB / 24.82 MB, free: 8.918 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3084/0.3084, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.444e-05/4.738e-05, allocations: 6.25 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.006748/0.006796, allocations: 2.855 MB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.009484, allocations: 0.7749 MB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.009964, allocations: 15.88 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.01028, allocations: 67.31 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.01082, allocations: 134.8 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.01145, allocations: 119.8 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.01229, allocations: 470.1 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.01267, allocations: 122.7 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.01359, allocations: 271.4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.01408, allocations: 143.6 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01419, allocations: 36 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.01438, allocations: 40 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.01448, allocations: 83.66 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.01472, allocations: 139.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.0154, allocations: 302.8 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.0154, allocations: 0 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01541, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.01543, allocations: 0 / 382 MB, free: 14.85 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.001303/0.01673, allocations: 0.7142 MB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/0.0168, allocations: 12.03 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.01718, allocations: 96.62 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.01769, allocations: 245 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.01772, allocations: 29.38 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.01779, allocations: 36.38 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.01833, allocations: 310.7 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.01836, allocations: 4.141 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.01839, allocations: 16.38 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.01841, allocations: 15.94 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.01865, allocations: 107.8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.0204, allocations: 0.9984 MB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.02084, allocations: 245.5 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.02101, allocations: 111.2 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.02105, allocations: 8 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.02109, allocations: 41.39 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.086e-06/0.02109, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003022/0.02411, allocations: 1.548 MB / 386.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.02419, allocations: 110.8 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.02442, allocations: 258.6 kB / 386.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.02446, allocations: 41.64 kB / 386.9 MB, free: 9.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.02463, allocations: 244.1 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.02481, allocations: 202.2 kB / 387.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.02496, allocations: 91.95 kB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.02519, allocations: 0.5156 MB / 388 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.02533, allocations: 53.2 kB / 388 MB, free: 8.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.02554, allocations: 190.7 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.02593, allocations: 283.9 kB / 388.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.02594, allocations: 4 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000765/0.0267, allocations: 411.8 kB / 388.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.02673, allocations: 8 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.02674, allocations: 4 kB / 388.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.02709, allocations: 119.2 kB / 389 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.02743, allocations: 95.83 kB / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/0.03252, allocations: 6.267 MB / 395.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.03283, allocations: 16 kB / 395.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.03286, allocations: 12.09 kB / 395.4 MB, free: 0.5547 MB / 362.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.00026/0.03312, allocations: 196.4 kB / 395.6 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.03324, allocations: 55.77 kB / 395.6 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.0333, allocations: 41.81 kB / 395.7 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.03331, allocations: 8 kB / 395.7 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/0.03334, allocations: 11.88 kB / 395.7 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.03335, allocations: 3.984 kB / 395.7 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.0349, allocations: 1.117 MB / 396.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.0349, allocations: 4 kB / 396.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.03515, allocations: 87.89 kB / 396.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.03536, allocations: 99.06 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.03539, allocations: 8 kB / 397 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.03817, allocations: 5.341 MB / 402.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.03817, allocations: 7.938 kB / 402.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008168/0.03899, allocations: 0.8297 MB / 403.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.03904, allocations: 27.8 kB / 403.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.03908, allocations: 20 kB / 403.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.03922, allocations: 16 kB / 403.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.03934, allocations: 47.84 kB / 403.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.03936, allocations: 12 kB / 403.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.03945, allocations: 169.7 kB / 403.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03945, allocations: 0 / 403.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006209/0.04007, allocations: 124 kB / 403.6 MB, free: 7.871 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.0001963/0.04027, allocations: 111.2 kB / 403.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.04113, allocations: 0.8118 MB / 404.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.04113, allocations: 0 / 404.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.04163, allocations: 0.6779 MB / 405.2 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.04212, allocations: 72.25 kB / 405.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.0438, allocations: 0.9437 MB / 406.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.04395, allocations: 118.4 kB / 406.3 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.04407, allocations: 39.25 kB / 406.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.04422, allocations: 130.1 kB / 406.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.04423, allocations: 0 / 406.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of Templates: time 0.009312/0.05354, allocations: 4.794 MB / 411.3 MB, free: 48 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5349984718486667]