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.001993/0.001993, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002575/0.002575, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.569/1.569, allocations: 230.4 MB / 254 MB, free: 15.03 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.245/0.245, allocations: 46.93 MB / 357 MB, free: 10.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 75.88 kB / 0.491 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 66.05 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004268/0.141, allocations: 2.87 MB / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1424, allocations: 0.8062 MB / 0.559 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1426, allocations: 15.88 kB / 0.5591 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.1428, allocations: 63.38 kB / 0.5591 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.143, allocations: 130.8 kB / 0.5592 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1434, allocations: 111.8 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.1439, allocations: 450.3 kB / 0.5598 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.1441, allocations: 142.1 kB / 0.5599 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1444, allocations: 187.3 kB / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1446, allocations: 183.2 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.1447, allocations: 39.94 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.1448, allocations: 47.98 kB / 0.5604 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.1449, allocations: 87.69 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1451, allocations: 203 kB / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.1456, allocations: 462.2 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1456, allocations: 0 / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1456, allocations: 0 / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1456, allocations: 0 / 0.5611 GB, free: 15.75 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.001044/0.1467, allocations: 0.6819 MB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1467, allocations: 12.03 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.1468, allocations: 78.7 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.1471, allocations: 68.62 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.1476, allocations: 303.4 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1476, allocations: 29.38 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.1477, allocations: 48.38 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.1483, allocations: 385.1 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1484, allocations: 3.953 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1484, allocations: 16 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1484, allocations: 8 kB / 0.5626 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.1489, allocations: 255.8 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1506, allocations: 1.101 MB / 0.564 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.1512, allocations: 327.4 kB / 0.5643 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1515, allocations: 158.5 kB / 0.5644 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1516, allocations: 8 kB / 0.5644 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1516, allocations: 42.5 kB / 0.5645 GB, free: 12.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/0.1516, allocations: 0 / 0.5645 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004205/0.1558, allocations: 2.451 MB / 0.5669 GB, free: 9.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.1559, allocations: 114.8 kB / 0.567 GB, free: 9.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1562, allocations: 254.6 kB / 0.5672 GB, free: 8.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.1562, allocations: 33.7 kB / 0.5673 GB, free: 8.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1564, allocations: 184.9 kB / 0.5674 GB, free: 8.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1565, allocations: 210.2 kB / 0.5676 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1566, allocations: 82.25 kB / 0.5677 GB, free: 8.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1568, allocations: 354.7 kB / 0.5681 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.1571, allocations: 129.1 kB / 0.5682 GB, free: 7.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.1574, allocations: 231.8 kB / 0.5684 GB, free: 7.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.1581, allocations: 406 kB / 0.5688 GB, free: 7.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1581, allocations: 0 / 0.5688 GB, free: 7.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/0.1592, allocations: 0.5464 MB / 0.5693 GB, free: 6.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1592, allocations: 8 kB / 0.5693 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1592, allocations: 4 kB / 0.5693 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.1596, allocations: 130.5 kB / 0.5695 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.16, allocations: 95.88 kB / 0.5695 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.1648, allocations: 5.218 MB / 0.5746 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.1651, allocations: 16 kB / 0.5747 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1652, allocations: 19.98 kB / 0.5747 GB, free: 0.7734 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.0002325/0.1654, allocations: 169.8 kB / 0.5748 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1655, allocations: 39.77 kB / 0.5749 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1656, allocations: 46.17 kB / 0.5749 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1656, allocations: 11.94 kB / 0.5749 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/0.1656, allocations: 7.938 kB / 0.5749 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1656, allocations: 3.984 kB / 0.5749 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.1678, allocations: 1.315 MB / 0.5762 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1678, allocations: 0 / 0.5762 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.1683, allocations: 99.88 kB / 0.5763 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.1686, allocations: 94.45 kB / 0.5764 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1686, allocations: 20.03 kB / 0.5764 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00377/0.1724, allocations: 4.427 MB / 0.5808 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1724, allocations: 8.156 kB / 0.5808 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1738, allocations: 0.9194 MB / 0.5817 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1739, allocations: 112.9 kB / 0.5818 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.1739, allocations: 12.06 kB / 0.5818 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.1742, allocations: 24.11 kB / 0.5818 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1743, allocations: 47.83 kB / 0.5818 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.1744, allocations: 19.98 kB / 0.5819 GB, free: 8.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1745, allocations: 174 kB / 0.582 GB, free: 8.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 0.582 GB, free: 8.672 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.1753, allocations: 124 kB / 0.5821 GB, free: 8.551 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.001751/0.177, allocations: 1.474 MB / 0.5836 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.1784, allocations: 0.7579 MB / 0.5843 GB, free: 6.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1784, allocations: 3.938 kB / 0.5843 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.1794, allocations: 0.56 MB / 0.5849 GB, free: 5.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.1801, allocations: 71.16 kB / 0.5849 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.1862, allocations: 4.173 MB / 0.589 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.1867, allocations: 0.8163 MB / 0.5898 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.1868, allocations: 39.27 kB / 0.5899 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.187, allocations: 135.3 kB / 0.59 GB, free: 196 kB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.187, allocations: 4 kB / 0.59 GB, free: 192 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3176/0.5046, allocations: 8.447 MB / 0.5982 GB, free: 34.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.29, allocations: 4.281 kB / 0.5982 GB, free: 34.37 MB / 446.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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] "Error: Could not read variable J2.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.730581752024591]