Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00171/0.00171, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001983/0.001983, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.524/1.524, allocations: 230.2 MB / 255.1 MB, free: 15.41 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.229/0.229, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.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-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") [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.002306/0.002306, allocations: 84.55 kB / 0.4924 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 65.98 MB / 0.5568 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004882/0.1371, allocations: 2.869 MB / 0.5596 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1392, allocations: 0.814 MB / 0.5604 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.1396, allocations: 11.94 kB / 0.5604 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.14, allocations: 63.31 kB / 0.5605 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1405, allocations: 126.9 kB / 0.5606 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.141, allocations: 119.8 kB / 0.5607 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.1418, allocations: 450.3 kB / 0.5611 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.1421, allocations: 142.1 kB / 0.5613 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.1426, allocations: 175.4 kB / 0.5614 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.143, allocations: 187.2 kB / 0.5616 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.143, allocations: 36 kB / 0.5616 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1432, allocations: 47.98 kB / 0.5617 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1433, allocations: 83.64 kB / 0.5618 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.1435, allocations: 206.9 kB / 0.562 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.1442, allocations: 470 kB / 0.5624 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1442, allocations: 0 / 0.5624 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1442, allocations: 0 / 0.5624 GB, free: 2.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.1442, allocations: 0 / 0.5624 GB, free: 2.848 MB / 414.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.001331/0.1456, allocations: 0.678 MB / 0.5631 GB, free: 2.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1456, allocations: 12.03 kB / 0.5631 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.146, allocations: 72.62 kB / 0.5632 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.1465, allocations: 299.5 kB / 0.5634 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.1466, allocations: 29.38 kB / 0.5635 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.1466, allocations: 44.38 kB / 0.5635 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.1474, allocations: 385.3 kB / 0.5639 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.1474, allocations: 7.953 kB / 0.5639 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1474, allocations: 16 kB / 0.5639 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1474, allocations: 8 kB / 0.5639 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.148, allocations: 251.8 kB / 0.5641 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1498, allocations: 1.105 MB / 0.5652 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1504, allocations: 331.4 kB / 0.5655 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1507, allocations: 154.5 kB / 0.5657 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1507, allocations: 4 kB / 0.5657 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1507, allocations: 42.56 kB / 0.5657 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.1507, allocations: 0 / 0.5657 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004187/0.1549, allocations: 2.46 MB / 0.5681 GB, free: 12.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.155, allocations: 114.8 kB / 0.5682 GB, free: 12.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1553, allocations: 238.7 kB / 0.5685 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.1553, allocations: 37.7 kB / 0.5685 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1554, allocations: 188.9 kB / 0.5687 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.1556, allocations: 214.1 kB / 0.5689 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1557, allocations: 82.25 kB / 0.569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1559, allocations: 350.7 kB / 0.5693 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1562, allocations: 129.1 kB / 0.5694 GB, free: 11.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.1565, allocations: 239.7 kB / 0.5697 GB, free: 10.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.1572, allocations: 398 kB / 0.57 GB, free: 10.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1572, allocations: 0 / 0.57 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001089/0.1583, allocations: 0.5539 MB / 0.5706 GB, free: 9.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1583, allocations: 8 kB / 0.5706 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1583, allocations: 4 kB / 0.5706 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.1587, allocations: 122.4 kB / 0.5707 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1591, allocations: 104 kB / 0.5708 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.164, allocations: 5.211 MB / 0.5759 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.1643, allocations: 16.03 kB / 0.5759 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1643, allocations: 23.98 kB / 0.5759 GB, free: 3.953 MB / 430.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.0002345/0.1645, allocations: 169.8 kB / 0.5761 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1646, allocations: 39.77 kB / 0.5761 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1648, allocations: 46.17 kB / 0.5762 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1648, allocations: 8 kB / 0.5762 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.1648, allocations: 7.938 kB / 0.5762 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1648, allocations: 3.984 kB / 0.5762 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.1669, allocations: 1.317 MB / 0.5775 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1669, allocations: 4.125 kB / 0.5775 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.1674, allocations: 103.9 kB / 0.5776 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/0.1677, allocations: 94.52 kB / 0.5777 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.1678, allocations: 19.88 kB / 0.5777 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.1717, allocations: 4.435 MB / 0.582 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.1717, allocations: 4.031 kB / 0.582 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1732, allocations: 0.9272 MB / 0.5829 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1734, allocations: 112.9 kB / 0.583 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.1734, allocations: 12.06 kB / 0.5831 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.1737, allocations: 19.98 kB / 0.5831 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1738, allocations: 47.81 kB / 0.5831 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.1738, allocations: 16 kB / 0.5831 GB, free: 12.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.174, allocations: 178 kB / 0.5833 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.174, allocations: 0 / 0.5833 GB, free: 11.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.1748, allocations: 124 kB / 0.5834 GB, free: 11.71 MB / 446.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 0.000166/0.1749, allocations: 107.2 kB / 0.5835 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.1764, allocations: 0.7658 MB / 0.5843 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1764, allocations: 0 / 0.5843 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.1773, allocations: 0.5603 MB / 0.5848 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.178, allocations: 60.09 kB / 0.5849 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1801, allocations: 1.127 MB / 0.586 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.1806, allocations: 0.828 MB / 0.5868 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1807, allocations: 31.44 kB / 0.5868 GB, free: 8.086 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1807, allocations: 0 / 0.5868 GB, free: 8.086 MB / 446.1 MB Notification: Performance of Templates: time 0.01428/0.195, allocations: 9.506 MB / 0.5961 GB, free: 14.57 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.730918131070212]