Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 113.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2583/0.2583, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 75.88 kB / 0.4924 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1253, allocations: 65.98 MB / 0.5568 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004321/0.1296, allocations: 2.863 MB / 0.5596 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.131, allocations: 0.7828 MB / 0.5603 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.1312, allocations: 8 kB / 0.5604 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.1314, allocations: 59.38 kB / 0.5604 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.1317, allocations: 134.8 kB / 0.5605 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.132, allocations: 103.9 kB / 0.5606 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.1325, allocations: 437.9 kB / 0.5611 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1327, allocations: 113.6 kB / 0.5612 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.133, allocations: 183.3 kB / 0.5613 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1332, allocations: 171.2 kB / 0.5615 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.1333, allocations: 36 kB / 0.5615 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1334, allocations: 35.98 kB / 0.5616 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1335, allocations: 79.7 kB / 0.5616 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1337, allocations: 195.1 kB / 0.5618 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.1342, allocations: 442.1 kB / 0.5623 GB, free: 312 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1342, allocations: 0 / 0.5623 GB, free: 312 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1342, allocations: 0 / 0.5623 GB, free: 312 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1342, allocations: 8 kB / 0.5623 GB, free: 304 kB / 414.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.001045/0.1353, allocations: 0.6625 MB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1353, allocations: 8.031 kB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.1356, allocations: 56.69 kB / 0.563 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.136, allocations: 291.7 kB / 0.5633 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.136, allocations: 29.38 kB / 0.5633 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1361, allocations: 44.33 kB / 0.5633 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.1367, allocations: 394.5 kB / 0.5637 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.1368, allocations: 11.89 kB / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1368, allocations: 16 kB / 0.5637 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1368, allocations: 8 kB / 0.5637 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.1372, allocations: 219.7 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1396, allocations: 1.715 MB / 0.5656 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.14, allocations: 250.5 kB / 0.5659 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1402, allocations: 93.91 kB / 0.5659 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1402, allocations: 12 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1403, allocations: 38.5 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.1403, allocations: 0 / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006912/0.1409, allocations: 278 kB / 0.5663 GB, free: 11.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.1411, allocations: 209.6 kB / 0.5665 GB, free: 11.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1414, allocations: 275.2 kB / 0.5667 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1414, allocations: 37.64 kB / 0.5668 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1416, allocations: 248 kB / 0.567 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.848e-05/0.1417, allocations: 115.2 kB / 0.5671 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1418, allocations: 106.3 kB / 0.5672 GB, free: 10.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.142, allocations: 350.7 kB / 0.5675 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1422, allocations: 101.2 kB / 0.5676 GB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.1427, allocations: 432.8 kB / 0.568 GB, free: 9.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.1434, allocations: 0.5703 MB / 0.5686 GB, free: 9.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1434, allocations: 4 kB / 0.5686 GB, free: 9.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008771/0.1443, allocations: 0.5243 MB / 0.5691 GB, free: 8.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1443, allocations: 8 kB / 0.5691 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1443, allocations: 12.88 kB / 0.5691 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.1444, allocations: 16 kB / 0.5692 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1448, allocations: 151.7 kB / 0.5693 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/0.1448, allocations: 23.88 kB / 0.5693 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1451, allocations: 67.55 kB / 0.5694 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.1452, allocations: 32 kB / 0.5694 GB, free: 8.23 MB / 430.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.0002039/0.1454, allocations: 181.5 kB / 0.5696 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.1455, allocations: 31.81 kB / 0.5696 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.1456, allocations: 33.83 kB / 0.5697 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1456, allocations: 8.281 kB / 0.5697 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1456, allocations: 4 kB / 0.5697 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1456, allocations: 7.969 kB / 0.5697 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.1469, allocations: 0.6514 MB / 0.5703 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.1469, allocations: 4 kB / 0.5703 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.1473, allocations: 91.88 kB / 0.5704 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1474, allocations: 8.062 kB / 0.5704 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1474, allocations: 8 kB / 0.5704 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1474, allocations: 7.938 kB / 0.5704 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1474, allocations: 4 kB / 0.5704 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.1482, allocations: 0.8309 MB / 0.5712 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1483, allocations: 104.9 kB / 0.5713 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.1483, allocations: 15.98 kB / 0.5714 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.1487, allocations: 20.06 kB / 0.5714 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1487, allocations: 23.97 kB / 0.5714 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1487, allocations: 4 kB / 0.5714 GB, free: 6.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1489, allocations: 186 kB / 0.5716 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1489, allocations: 0 / 0.5716 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007219/0.1497, allocations: 103.8 kB / 0.5717 GB, free: 5.793 MB / 430.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.0001236/0.1498, allocations: 107.2 kB / 0.5718 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.1503, allocations: 285.6 kB / 0.5721 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1503, allocations: 0 / 0.5721 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.1505, allocations: 99.64 kB / 0.5721 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.1515, allocations: 82.52 kB / 0.5722 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.1538, allocations: 1.581 MB / 0.5738 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1542, allocations: 0.7948 MB / 0.5745 GB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.1543, allocations: 39.42 kB / 0.5746 GB, free: 2.727 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1543, allocations: 0 / 0.5746 GB, free: 2.727 MB / 430.1 MB Notification: Performance of Templates: time 0.006669/0.161, allocations: 4.22 MB / 0.5787 GB, free: 14.51 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.852937655989081]