Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001391/0.001391, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001623/0.001623, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.521/1.521, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.88 kB / 0.4916 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1285, allocations: 66.05 MB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004783/0.1333, allocations: 2.867 MB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1348, allocations: 0.8101 MB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.135, allocations: 15.88 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1352, allocations: 67.31 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1355, allocations: 118.9 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1359, allocations: 123.8 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.1364, allocations: 446.3 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.1367, allocations: 146.1 kB / 0.5606 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.137, allocations: 179.4 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1372, allocations: 187.2 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.1373, allocations: 39.94 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.1374, allocations: 44 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.1375, allocations: 87.67 kB / 0.5611 GB, free: 396 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1377, allocations: 199 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.1382, allocations: 458 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1383, allocations: 4 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1383, allocations: 4 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1383, allocations: 3.938 kB / 0.5618 GB, free: 15.73 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.001105/0.1394, allocations: 0.6857 MB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1394, allocations: 8.031 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.717e-05/0.1394, allocations: 17.19 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.179e-05/0.1395, allocations: 78.7 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.1399, allocations: 68.62 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1403, allocations: 307.4 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1404, allocations: 29.38 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.1404, allocations: 44.38 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.1411, allocations: 381 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1412, allocations: 3.953 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.1412, allocations: 19.98 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1412, allocations: 8 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.1418, allocations: 251.8 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.1435, allocations: 1.105 MB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.144, allocations: 323.5 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.1443, allocations: 161.4 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.1444, allocations: 8 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1444, allocations: 46.44 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.1444, allocations: 0 / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004161/0.1486, allocations: 2.449 MB / 0.5676 GB, free: 9.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.1487, allocations: 118.7 kB / 0.5677 GB, free: 9.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1489, allocations: 254.6 kB / 0.5679 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.149, allocations: 33.7 kB / 0.568 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1491, allocations: 184.9 kB / 0.5681 GB, free: 8.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.1492, allocations: 210.2 kB / 0.5683 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.1494, allocations: 82.25 kB / 0.5684 GB, free: 8.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1495, allocations: 346.8 kB / 0.5688 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.1498, allocations: 133.1 kB / 0.5689 GB, free: 7.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1502, allocations: 227.8 kB / 0.5691 GB, free: 7.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.1508, allocations: 402 kB / 0.5695 GB, free: 7.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1508, allocations: 0 / 0.5695 GB, free: 7.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001094/0.1519, allocations: 0.5464 MB / 0.57 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1519, allocations: 9.719 kB / 0.57 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.152, allocations: 4 kB / 0.57 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.1523, allocations: 130.7 kB / 0.5702 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1527, allocations: 99.88 kB / 0.5702 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.1574, allocations: 5.213 MB / 0.5753 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1577, allocations: 20.03 kB / 0.5754 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.1578, allocations: 19.98 kB / 0.5754 GB, free: 0.7383 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.0002201/0.158, allocations: 165.8 kB / 0.5755 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1581, allocations: 39.77 kB / 0.5756 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1582, allocations: 50.11 kB / 0.5756 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1582, allocations: 11.94 kB / 0.5756 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.1582, allocations: 8.172 kB / 0.5756 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1582, allocations: 3.984 kB / 0.5756 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.1604, allocations: 1.319 MB / 0.5769 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1604, allocations: 0 / 0.5769 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.1608, allocations: 99.88 kB / 0.577 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.1611, allocations: 98.39 kB / 0.5771 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.1612, allocations: 16.09 kB / 0.5771 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.165, allocations: 4.427 MB / 0.5815 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.165, allocations: 12.09 kB / 0.5815 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.1664, allocations: 0.9174 MB / 0.5824 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1665, allocations: 116.8 kB / 0.5825 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1666, allocations: 12.06 kB / 0.5825 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.1669, allocations: 19.98 kB / 0.5825 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.167, allocations: 47.88 kB / 0.5826 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.167, allocations: 16 kB / 0.5826 GB, free: 8.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1672, allocations: 174 kB / 0.5827 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1672, allocations: 0 / 0.5827 GB, free: 8.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.1679, allocations: 124 kB / 0.5829 GB, free: 8.512 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.001759/0.1697, allocations: 1.472 MB / 0.5843 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.1711, allocations: 0.7637 MB / 0.585 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1711, allocations: 0 / 0.585 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.1719, allocations: 0.566 MB / 0.5856 GB, free: 5.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.1726, allocations: 66.77 kB / 0.5857 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/0.1786, allocations: 4.171 MB / 0.5897 GB, free: 1.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.1791, allocations: 0.8202 MB / 0.5905 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.1793, allocations: 31.28 kB / 0.5906 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.1795, allocations: 135.4 kB / 0.5907 GB, free: 156 kB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1795, allocations: 0 / 0.5907 GB, free: 156 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2844/0.4639, allocations: 8.484 MB / 0.599 GB, free: 34.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.42, allocations: 8.375 kB / 0.599 GB, free: 34.33 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.731265765032731]