Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.002049/0.002049, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002791/0.002791, allocations: 206.2 kB / 23.74 MB, free: 4.543 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.534/1.534, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.2358/0.2358, allocations: 44.27 MB / 331.1 MB, free: 9.402 MB / 270.1 MB " [Timeout remaining time 179] 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [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.002351/0.002351, allocations: 79.88 kB / 468.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 61.03 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004393/0.1355, allocations: 2.642 MB / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1369, allocations: 0.7098 MB / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1371, allocations: 11.94 kB / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1373, allocations: 67.38 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1375, allocations: 122.9 kB / 0.5208 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1378, allocations: 87.88 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.1383, allocations: 433.9 kB / 0.5213 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1385, allocations: 102 kB / 0.5214 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.1388, allocations: 171.4 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.1391, allocations: 159.1 kB / 0.5217 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.1391, allocations: 36 kB / 0.5218 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.1392, allocations: 32 kB / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1393, allocations: 75.75 kB / 0.5219 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1394, allocations: 167.2 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.14, allocations: 430.2 kB / 0.5225 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.14, allocations: 0 / 0.5225 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.14, allocations: 0 / 0.5225 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.14, allocations: 4 kB / 0.5225 GB, free: 1.449 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001025/0.141, allocations: 0.5755 MB / 0.523 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.141, allocations: 12.03 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.1411, allocations: 44.7 kB / 0.5231 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1415, allocations: 214.7 kB / 0.5233 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.1416, allocations: 29.38 kB / 0.5233 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.1417, allocations: 44.33 kB / 0.5233 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.1423, allocations: 398.5 kB / 0.5237 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.1423, allocations: 11.95 kB / 0.5237 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.1424, allocations: 16 kB / 0.5238 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1424, allocations: 8 kB / 0.5238 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.1429, allocations: 219.7 kB / 0.524 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1452, allocations: 1.559 MB / 0.5255 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.1456, allocations: 250.3 kB / 0.5257 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1458, allocations: 90.08 kB / 0.5258 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1458, allocations: 4 kB / 0.5258 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1459, allocations: 46.48 kB / 0.5259 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.1459, allocations: 4 kB / 0.5259 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006919/0.1466, allocations: 253.2 kB / 0.5261 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1467, allocations: 217.6 kB / 0.5263 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.1471, allocations: 269.6 kB / 0.5266 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1471, allocations: 29.7 kB / 0.5266 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1473, allocations: 247.9 kB / 0.5268 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1474, allocations: 119.4 kB / 0.527 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1476, allocations: 114.2 kB / 0.5271 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1478, allocations: 350.7 kB / 0.5274 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.148, allocations: 93.27 kB / 0.5275 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.1485, allocations: 428.8 kB / 0.5279 GB, free: 11.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.1492, allocations: 0.5667 MB / 0.5285 GB, free: 10.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.1492, allocations: 4 kB / 0.5285 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000889/0.1501, allocations: 0.5204 MB / 0.529 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.1502, allocations: 13.88 kB / 0.529 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.1502, allocations: 12.84 kB / 0.529 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.1502, allocations: 16 kB / 0.529 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.1507, allocations: 155.7 kB / 0.5292 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/0.1507, allocations: 23.92 kB / 0.5292 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.151, allocations: 55.62 kB / 0.5292 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.151, allocations: 32 kB / 0.5293 GB, free: 9.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002208/0.1513, allocations: 185.5 kB / 0.5294 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1514, allocations: 31.81 kB / 0.5295 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.1515, allocations: 33.7 kB / 0.5295 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1515, allocations: 4 kB / 0.5295 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1515, allocations: 4.5 kB / 0.5295 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1515, allocations: 4 kB / 0.5295 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1528, allocations: 0.5691 MB / 0.5301 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1528, allocations: 0 / 0.5301 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.1532, allocations: 91.88 kB / 0.5302 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1532, allocations: 4 kB / 0.5302 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.1533, allocations: 8 kB / 0.5302 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1533, allocations: 4 kB / 0.5302 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1533, allocations: 4 kB / 0.5302 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/0.1541, allocations: 0.8339 MB / 0.531 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1542, allocations: 31.73 kB / 0.531 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.1542, allocations: 15.98 kB / 0.531 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.1546, allocations: 8 kB / 0.531 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.1546, allocations: 27.84 kB / 0.5311 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1547, allocations: 15.92 kB / 0.5311 GB, free: 7.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1548, allocations: 173.2 kB / 0.5312 GB, free: 7.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1548, allocations: 0 / 0.5312 GB, free: 7.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00078/0.1556, allocations: 103.8 kB / 0.5313 GB, free: 7.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001368/0.1557, allocations: 115.1 kB / 0.5315 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.1563, allocations: 284.9 kB / 0.5317 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1563, allocations: 0 / 0.5317 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.1565, allocations: 85.33 kB / 0.5318 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.1574, allocations: 76.88 kB / 0.5319 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.16, allocations: 1.579 MB / 0.5334 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1602, allocations: 194.5 kB / 0.5336 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.1603, allocations: 27.44 kB / 0.5336 GB, free: 5.148 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1603, allocations: 0 / 0.5336 GB, free: 5.148 MB / 414.1 MB Notification: Performance of Templates: time 0.008114/0.1684, allocations: 4.304 MB / 0.5378 GB, free: 0.8477 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: 8.209883516188711]