Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.0009375/0.0009375, allocations: 80.34 kB / 20.66 MB, free: 3.883 MB / 18.57 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.0009061/0.0009061, allocations: 160.9 kB / 23.94 MB, free: 0.6055 MB / 18.57 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 0.9012/0.9012, allocations: 177.1 MB / 204.2 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.2377/0.2377, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.06e-05, allocations: 5.094 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1646/0.1646, allocations: 2.474 MB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.1656, allocations: 0.6943 MB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1657, allocations: 13.56 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1658, allocations: 43.69 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1659, allocations: 87.28 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1662, allocations: 113 kB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1664, allocations: 330.6 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1666, allocations: 54.69 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.1668, allocations: 199 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.1669, allocations: 102.6 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1669, allocations: 22.31 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.167, allocations: 24.84 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.167, allocations: 56.69 kB / 446.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1671, allocations: 96.31 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1673, allocations: 316 kB / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1673, allocations: 0 / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1673, allocations: 0 / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1673, allocations: 0 / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005955/0.1679, allocations: 0.5261 MB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.168, allocations: 8.281 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.168, allocations: 62.06 kB / 447.4 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1682, allocations: 51.33 kB / 447.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1685, allocations: 211.3 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1685, allocations: 18.06 kB / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1685, allocations: 34.44 kB / 447.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1688, allocations: 282.2 kB / 448 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1688, allocations: 3 kB / 448 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1688, allocations: 14.91 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1688, allocations: 5.531 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.1691, allocations: 178.8 kB / 448.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.1699, allocations: 1.2 MB / 449.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1701, allocations: 245.5 kB / 449.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1702, allocations: 94.62 kB / 449.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1702, allocations: 2.812 kB / 449.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.1702, allocations: 41.05 kB / 449.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1702, allocations: 2.906 kB / 449.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001229/0.1715, allocations: 1.212 MB / 451 MB, free: 39.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1715, allocations: 134.2 kB / 451.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1716, allocations: 230.5 kB / 451.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1716, allocations: 29.7 kB / 451.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.1717, allocations: 183.7 kB / 451.5 MB, free: 38.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1717, allocations: 123 kB / 451.6 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1718, allocations: 70.58 kB / 451.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.1718, allocations: 342.2 kB / 452 MB, free: 38.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1719, allocations: 98.03 kB / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1721, allocations: 242.3 kB / 452.4 MB, free: 38.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1724, allocations: 362.4 kB / 452.7 MB, free: 38.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1724, allocations: 2.906 kB / 452.7 MB, free: 38.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003823/0.1728, allocations: 393.8 kB / 453.1 MB, free: 37.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1728, allocations: 13.56 kB / 453.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1728, allocations: 9.844 kB / 453.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1728, allocations: 9.812 kB / 453.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.173, allocations: 106 kB / 453.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.173, allocations: 5.531 kB / 453.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1731, allocations: 24.69 kB / 453.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1731, allocations: 17.16 kB / 453.3 MB, free: 37.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.1732, allocations: 158.9 kB / 453.5 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1733, allocations: 31.22 kB / 453.5 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.1733, allocations: 37.61 kB / 453.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1733, allocations: 2.938 kB / 453.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1733, allocations: 2.75 kB / 453.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1733, allocations: 3.281 kB / 453.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.1741, allocations: 0.928 MB / 454.5 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1741, allocations: 5 kB / 454.5 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1742, allocations: 73.83 kB / 454.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1742, allocations: 2.844 kB / 454.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1742, allocations: 6.969 kB / 454.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1742, allocations: 6.203 kB / 454.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1743, allocations: 6.812 kB / 454.6 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.1747, allocations: 0.735 MB / 455.3 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.1747, allocations: 24 kB / 455.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1748, allocations: 7.031 kB / 455.3 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1749, allocations: 22.78 kB / 455.3 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.175, allocations: 29.41 kB / 455.4 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.175, allocations: 5.75 kB / 455.4 MB, free: 36.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.175, allocations: 169.7 kB / 455.5 MB, free: 36.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.175, allocations: 0 / 455.5 MB, free: 36.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.1753, allocations: 65.34 kB / 455.6 MB, free: 36.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005444/0.1759, allocations: 1.271 MB / 456.9 MB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.1762, allocations: 273.1 kB / 457.1 MB, free: 35.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1762, allocations: 0 / 457.1 MB, free: 35.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1764, allocations: 130.5 kB / 457.3 MB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1768, allocations: 38.55 kB / 457.3 MB, free: 35.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1789, allocations: 3.372 MB / 460.7 MB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.54e-05/0.179, allocations: 161.8 kB / 460.8 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.1791, allocations: 37.7 kB / 460.9 MB, free: 32.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.1792, allocations: 101.9 kB / 461 MB, free: 32.53 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1792, allocations: 0 / 461 MB, free: 32.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.1982, allocations: 6.139 MB / 467.1 MB, free: 31.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.29, allocations: 6.797 kB / 467.1 MB, free: 31.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.330689346883446]