Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001433/0.001433, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 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.001561/0.001561, allocations: 211.7 kB / 23.75 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.23 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 82.48 kB / 468.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1028, allocations: 61.03 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004121/0.1069, allocations: 2.863 MB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1083, allocations: 0.7643 MB / 0.5209 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.1085, allocations: 11.94 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1087, allocations: 63.31 kB / 0.521 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.109, allocations: 130.9 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1093, allocations: 99.81 kB / 0.5212 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.1098, allocations: 446.3 kB / 0.5216 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.1101, allocations: 142.7 kB / 0.5218 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1104, allocations: 171.4 kB / 0.5219 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1106, allocations: 195 kB / 0.5221 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.1107, allocations: 36 kB / 0.5221 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.1108, allocations: 36 kB / 0.5222 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.1108, allocations: 79.69 kB / 0.5223 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.111, allocations: 211 kB / 0.5225 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.1115, allocations: 446.1 kB / 0.5229 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1115, allocations: 0 / 0.5229 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1115, allocations: 0 / 0.5229 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1115, allocations: 0 / 0.5229 GB, free: 1.16 MB / 398.1 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.0009593/0.1125, allocations: 0.5988 MB / 0.5235 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1125, allocations: 19.97 kB / 0.5235 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.1126, allocations: 44.66 kB / 0.5235 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1129, allocations: 222.9 kB / 0.5237 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.113, allocations: 29.38 kB / 0.5238 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.113, allocations: 48.33 kB / 0.5238 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.1137, allocations: 385.4 kB / 0.5242 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1137, allocations: 3.938 kB / 0.5242 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1137, allocations: 16 kB / 0.5242 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1137, allocations: 8 kB / 0.5242 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.1142, allocations: 255.8 kB / 0.5244 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.1158, allocations: 1.051 MB / 0.5255 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.1163, allocations: 323.9 kB / 0.5258 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1166, allocations: 166.8 kB / 0.5259 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1166, allocations: 7.938 kB / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1166, allocations: 42.56 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.353e-06/0.1166, allocations: 0 / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003469/0.1201, allocations: 1.999 MB / 0.5279 GB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.1202, allocations: 114.7 kB / 0.5281 GB, free: 11.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1204, allocations: 237.9 kB / 0.5283 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.1204, allocations: 33.7 kB / 0.5283 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1205, allocations: 188.9 kB / 0.5285 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1207, allocations: 210.2 kB / 0.5287 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1208, allocations: 82.34 kB / 0.5288 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.121, allocations: 350.7 kB / 0.5291 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1212, allocations: 129.2 kB / 0.5292 GB, free: 10.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.1215, allocations: 232.8 kB / 0.5295 GB, free: 9.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1221, allocations: 401.9 kB / 0.5298 GB, free: 9.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1221, allocations: 4 kB / 0.5298 GB, free: 9.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009578/0.1231, allocations: 0.5616 MB / 0.5304 GB, free: 8.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1231, allocations: 4 kB / 0.5304 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1231, allocations: 4 kB / 0.5304 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.1234, allocations: 118.5 kB / 0.5305 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.1238, allocations: 99.97 kB / 0.5306 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.1279, allocations: 4.911 MB / 0.5354 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.128, allocations: 16 kB / 0.5354 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.1281, allocations: 20 kB / 0.5354 GB, free: 3.465 MB / 414.1 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.0001835/0.1283, allocations: 173.8 kB / 0.5356 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.1284, allocations: 35.77 kB / 0.5356 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.1285, allocations: 50.11 kB / 0.5357 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1285, allocations: 7.938 kB / 0.5357 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.1285, allocations: 7.938 kB / 0.5357 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1285, allocations: 3.938 kB / 0.5357 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.1304, allocations: 1.288 MB / 0.537 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1304, allocations: 192 / 0.537 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.1308, allocations: 111.9 kB / 0.5371 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.131, allocations: 86.52 kB / 0.5371 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.131, allocations: 15.94 kB / 0.5372 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.187/0.3181, allocations: 4.107 MB / 0.5412 GB, free: 25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3181, allocations: 6.344 kB / 0.5412 GB, free: 25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3192, allocations: 0.9236 MB / 0.5421 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.3192, allocations: 30.19 kB / 0.5421 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.3193, allocations: 15.2 kB / 0.5421 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3195, allocations: 21.91 kB / 0.5421 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3196, allocations: 53.81 kB / 0.5422 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3197, allocations: 14.83 kB / 0.5422 GB, free: 24.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3198, allocations: 171.4 kB / 0.5424 GB, free: 24.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3198, allocations: 0 / 0.5424 GB, free: 24.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006392/0.3204, allocations: 124.7 kB / 0.5425 GB, free: 24.58 MB / 414.1 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 9.7e-05/0.3205, allocations: 112.6 kB / 0.5426 GB, free: 24.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3215, allocations: 0.7568 MB / 0.5433 GB, free: 24.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3215, allocations: 1.25 kB / 0.5433 GB, free: 24.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.3221, allocations: 0.558 MB / 0.5439 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.3227, allocations: 66.69 kB / 0.5439 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3242, allocations: 1.132 MB / 0.5451 GB, free: 23.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3244, allocations: 0.8173 MB / 0.5459 GB, free: 22.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.3245, allocations: 31.31 kB / 0.5459 GB, free: 22.53 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3245, allocations: 1.375 kB / 0.5459 GB, free: 22.53 MB / 414.1 MB Notification: Performance of Templates: time 0.01185/0.3363, allocations: 9.389 MB / 0.5551 GB, free: 21.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.85705416300334]