Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001291/0.001291, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001361/0.001361, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.91 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1286, allocations: 66 MB / 0.5565 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004293/0.1329, allocations: 2.862 MB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1346, allocations: 0.8062 MB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.1348, allocations: 15.88 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.135, allocations: 63.31 kB / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1353, allocations: 130.9 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.1357, allocations: 115.8 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.1362, allocations: 450.3 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1364, allocations: 138.1 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1367, allocations: 183.3 kB / 0.5611 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.137, allocations: 187.2 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.137, allocations: 36 kB / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.1371, allocations: 47.94 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.1372, allocations: 87.67 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1374, allocations: 206.9 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.1379, allocations: 462.2 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1379, allocations: 0 / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1379, allocations: 0 / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1379, allocations: 0 / 0.5621 GB, free: 15.56 MB / 430.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.00103/0.139, allocations: 0.6858 MB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.139, allocations: 12.03 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.1393, allocations: 68.62 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.1398, allocations: 311.4 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1398, allocations: 25.38 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.1399, allocations: 44.38 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.1405, allocations: 381.3 kB / 0.5636 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1406, allocations: 3.953 kB / 0.5636 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1406, allocations: 16 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1406, allocations: 12 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.1412, allocations: 255.8 kB / 0.5639 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1428, allocations: 1.101 MB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1434, allocations: 327.4 kB / 0.5653 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.1437, allocations: 158.5 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1437, allocations: 4 kB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1437, allocations: 38.56 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 1.794e-06/0.1437, allocations: 0 / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004089/0.1478, allocations: 2.459 MB / 0.5678 GB, free: 9.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1479, allocations: 118.8 kB / 0.568 GB, free: 9.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1482, allocations: 246.7 kB / 0.5682 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1482, allocations: 33.7 kB / 0.5682 GB, free: 8.797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1483, allocations: 184.9 kB / 0.5684 GB, free: 8.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1485, allocations: 214.1 kB / 0.5686 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1486, allocations: 82.25 kB / 0.5687 GB, free: 8.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1488, allocations: 354.7 kB / 0.569 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.1491, allocations: 133.1 kB / 0.5692 GB, free: 7.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.1494, allocations: 227.8 kB / 0.5694 GB, free: 7.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.1501, allocations: 398 kB / 0.5698 GB, free: 7.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1501, allocations: 4 kB / 0.5698 GB, free: 7.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001056/0.1511, allocations: 0.5502 MB / 0.5703 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1512, allocations: 8 kB / 0.5703 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1512, allocations: 12.08 kB / 0.5703 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.1516, allocations: 122.4 kB / 0.5704 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.152, allocations: 99.88 kB / 0.5705 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/0.1566, allocations: 5.215 MB / 0.5756 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.1569, allocations: 24 kB / 0.5756 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1569, allocations: 19.98 kB / 0.5757 GB, free: 0.6562 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.0002312/0.1571, allocations: 168 kB / 0.5758 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1572, allocations: 39.77 kB / 0.5759 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1574, allocations: 46.17 kB / 0.5759 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1574, allocations: 8 kB / 0.5759 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.1574, allocations: 11.94 kB / 0.5759 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1574, allocations: 3.984 kB / 0.5759 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1595, allocations: 1.315 MB / 0.5772 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1595, allocations: 0 / 0.5772 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1599, allocations: 99.88 kB / 0.5773 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.1602, allocations: 98.55 kB / 0.5774 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.1602, allocations: 15.94 kB / 0.5774 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/0.1639, allocations: 4.431 MB / 0.5817 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1639, allocations: 4.031 kB / 0.5817 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1653, allocations: 0.9258 MB / 0.5826 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1654, allocations: 112.9 kB / 0.5828 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.1655, allocations: 12.06 kB / 0.5828 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1657, allocations: 23.92 kB / 0.5828 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1658, allocations: 43.89 kB / 0.5828 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1659, allocations: 19.98 kB / 0.5828 GB, free: 8.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.166, allocations: 174 kB / 0.583 GB, free: 8.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.166, allocations: 0 / 0.583 GB, free: 8.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007702/0.1668, allocations: 124 kB / 0.5831 GB, free: 8.434 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.0001877/0.167, allocations: 111.2 kB / 0.5832 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.1685, allocations: 0.7623 MB / 0.584 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1685, allocations: 0 / 0.584 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.1694, allocations: 0.5544 MB / 0.5845 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.17, allocations: 65.38 kB / 0.5846 GB, free: 6.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.172, allocations: 1.135 MB / 0.5857 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1724, allocations: 0.8202 MB / 0.5865 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.1725, allocations: 31.44 kB / 0.5865 GB, free: 4.805 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1725, allocations: 0 / 0.5865 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Templates: time 0.2779/0.4504, allocations: 9.502 MB / 0.5958 GB, free: 33.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.108750832005171]