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.002111/0.002111, allocations: 118.4 kB / 18.49 MB, free: 4.535 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.002605/0.002605, allocations: 211.1 kB / 21.46 MB, free: 1.582 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.582/1.582, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2373/0.2373, allocations: 46.93 MB / 357.8 MB, free: 10.3 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1315, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00474/0.1362, allocations: 2.867 MB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1379, allocations: 0.8062 MB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.1382, allocations: 15.88 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1384, allocations: 59.33 kB / 0.5597 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1388, allocations: 130.9 kB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.1392, allocations: 119.8 kB / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.1398, allocations: 450.3 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.1401, allocations: 138.1 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.1405, allocations: 183.3 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.1408, allocations: 191.1 kB / 0.5609 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.1409, allocations: 43.94 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.141, allocations: 48 kB / 0.561 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.1411, allocations: 71.77 kB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1413, allocations: 210.9 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.1419, allocations: 454 kB / 0.5617 GB, free: 56 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1419, allocations: 7.938 kB / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1419, allocations: 0 / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1419, allocations: 0 / 0.5617 GB, free: 48 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001282/0.1432, allocations: 0.6897 MB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1433, allocations: 8.031 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.1433, allocations: 9.188 kB / 0.5624 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.05e-05/0.1434, allocations: 74.72 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.1438, allocations: 80.61 kB / 0.5625 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1443, allocations: 307.4 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.1443, allocations: 33.31 kB / 0.5628 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.1444, allocations: 40.38 kB / 0.5629 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.1451, allocations: 381 kB / 0.5632 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1451, allocations: 7.953 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.1452, allocations: 20 kB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1452, allocations: 8 kB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.1458, allocations: 251.8 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.1476, allocations: 1.101 MB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.1482, allocations: 323.5 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1485, allocations: 158.5 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1486, allocations: 4 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1486, allocations: 50.42 kB / 0.5651 GB, free: 12.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.195e-06/0.1486, allocations: 3.938 kB / 0.5651 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004597/0.1532, allocations: 2.452 MB / 0.5675 GB, free: 9.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1533, allocations: 114.8 kB / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.1536, allocations: 250.6 kB / 0.5678 GB, free: 9.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.1536, allocations: 37.7 kB / 0.5679 GB, free: 9.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1538, allocations: 180.9 kB / 0.568 GB, free: 8.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.154, allocations: 218.1 kB / 0.5683 GB, free: 8.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1541, allocations: 86.25 kB / 0.5683 GB, free: 8.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1543, allocations: 346.8 kB / 0.5687 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1546, allocations: 125.1 kB / 0.5688 GB, free: 8.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.155, allocations: 231.8 kB / 0.569 GB, free: 7.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.1557, allocations: 398 kB / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1557, allocations: 0 / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001176/0.1568, allocations: 0.5501 MB / 0.5699 GB, free: 6.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1569, allocations: 8 kB / 0.5699 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1569, allocations: 0 / 0.5699 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.1573, allocations: 126.4 kB / 0.5701 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.1577, allocations: 91.89 kB / 0.5701 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.163, allocations: 5.234 MB / 0.5753 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.1633, allocations: 16 kB / 0.5753 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.1633, allocations: 20 kB / 0.5753 GB, free: 1.043 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.0002532/0.1636, allocations: 165.8 kB / 0.5754 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1637, allocations: 39.77 kB / 0.5755 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1638, allocations: 54.17 kB / 0.5755 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.1639, allocations: 11.94 kB / 0.5755 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.1639, allocations: 4 kB / 0.5756 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1639, allocations: 0 / 0.5756 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.1662, allocations: 1.321 MB / 0.5768 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1662, allocations: 0 / 0.5768 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.1667, allocations: 99.88 kB / 0.5769 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.167, allocations: 102.5 kB / 0.577 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.1671, allocations: 12 kB / 0.577 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.1712, allocations: 4.435 MB / 0.5814 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1712, allocations: 0 / 0.5814 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1727, allocations: 0.9254 MB / 0.5823 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1728, allocations: 116.8 kB / 0.5824 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1729, allocations: 16.06 kB / 0.5824 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1732, allocations: 16 kB / 0.5824 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1733, allocations: 43.88 kB / 0.5825 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.1733, allocations: 12 kB / 0.5825 GB, free: 9.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.1735, allocations: 182 kB / 0.5826 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1735, allocations: 0 / 0.5826 GB, free: 8.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007773/0.1743, allocations: 127.9 kB / 0.5828 GB, free: 8.812 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.001807/0.1761, allocations: 1.476 MB / 0.5842 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1775, allocations: 0.7542 MB / 0.5849 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1775, allocations: 0 / 0.5849 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009509/0.1785, allocations: 0.5646 MB / 0.5855 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.1792, allocations: 68.47 kB / 0.5856 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.1855, allocations: 4.184 MB / 0.5897 GB, free: 1.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.1861, allocations: 0.8202 MB / 0.5905 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1863, allocations: 31.27 kB / 0.5905 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.1865, allocations: 135.4 kB / 0.5906 GB, free: 460 kB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1865, allocations: 0 / 0.5906 GB, free: 460 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.348/0.5344, allocations: 8.481 MB / 0.5989 GB, free: 34.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.84, allocations: 7.156 kB / 0.5989 GB, free: 34.62 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] 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: 15.272399370966014]