Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.0007915/0.0007915, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009165/0.0009165, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8845/0.8845, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2584/0.2584, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 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.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.663e-05, allocations: 4.391 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1715/0.1716, allocations: 2.486 MB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1726, allocations: 0.6893 MB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1727, allocations: 9.188 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1729, allocations: 51.42 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.173, allocations: 91.16 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1733, allocations: 104.7 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.1735, allocations: 348.9 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1737, allocations: 54.95 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1739, allocations: 196 kB / 446.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1741, allocations: 99.09 kB / 446.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1741, allocations: 23.06 kB / 446.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.1742, allocations: 26.41 kB / 446.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.1742, allocations: 54.28 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1742, allocations: 101.9 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1745, allocations: 312.1 kB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1745, allocations: 0 / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1745, allocations: 0 / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1745, allocations: 0 / 446.8 MB, free: 42.53 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.0006465/0.1752, allocations: 0.5271 MB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1752, allocations: 8.781 kB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1753, allocations: 61.97 kB / 447.3 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1754, allocations: 55.98 kB / 447.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1757, allocations: 214.7 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1757, allocations: 16.88 kB / 447.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1758, allocations: 31.73 kB / 447.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.176, allocations: 271 kB / 447.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1761, allocations: 10.36 kB / 447.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1761, allocations: 18.97 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1761, allocations: 5.812 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1763, allocations: 177.9 kB / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.1772, allocations: 1.198 MB / 449.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1775, allocations: 244.8 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1776, allocations: 92.97 kB / 449.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1776, allocations: 3.031 kB / 449.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.1776, allocations: 47.88 kB / 449.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.472e-06/0.1776, allocations: 0 / 449.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00124/0.1789, allocations: 1.202 MB / 450.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1789, allocations: 145.5 kB / 451.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.179, allocations: 226.1 kB / 451.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1791, allocations: 33.7 kB / 451.3 MB, free: 39.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1791, allocations: 180.5 kB / 451.5 MB, free: 39.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1791, allocations: 120.3 kB / 451.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1792, allocations: 70.08 kB / 451.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.1792, allocations: 338.8 kB / 452 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1794, allocations: 96.92 kB / 452.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1795, allocations: 248.6 kB / 452.3 MB, free: 38.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1799, allocations: 360 kB / 452.7 MB, free: 38.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1799, allocations: 0 / 452.7 MB, free: 38.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000386/0.1802, allocations: 394.8 kB / 453.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1803, allocations: 15.89 kB / 453.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1803, allocations: 2.812 kB / 453.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1803, allocations: 9.312 kB / 453.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.1805, allocations: 106.4 kB / 453.2 MB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1805, allocations: 9.656 kB / 453.2 MB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.1806, allocations: 22.84 kB / 453.2 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1806, allocations: 21.41 kB / 453.3 MB, free: 37.91 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.431e-05/0.1807, allocations: 152.9 kB / 453.4 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1807, allocations: 33.91 kB / 453.4 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.1807, allocations: 37.61 kB / 453.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1808, allocations: 6.688 kB / 453.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1808, allocations: 2.781 kB / 453.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1808, allocations: 3.188 kB / 453.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.1815, allocations: 0.925 MB / 454.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1815, allocations: 7 kB / 454.4 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.1817, allocations: 76.11 kB / 454.5 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1817, allocations: 2.688 kB / 454.5 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1817, allocations: 9.938 kB / 454.5 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1817, allocations: 7.297 kB / 454.5 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1817, allocations: 6.469 kB / 454.5 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.1822, allocations: 0.7371 MB / 455.3 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.1822, allocations: 20.36 kB / 455.3 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1822, allocations: 10.44 kB / 455.3 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1824, allocations: 22.05 kB / 455.3 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.1824, allocations: 30.12 kB / 455.3 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1825, allocations: 12.86 kB / 455.4 MB, free: 36.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.808e-05/0.1825, allocations: 159.4 kB / 455.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 4 kB / 455.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.1828, allocations: 67.12 kB / 455.6 MB, free: 36.38 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.0006294/0.1834, allocations: 1.268 MB / 456.8 MB, free: 35.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.1838, allocations: 270.3 kB / 457.1 MB, free: 35.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1838, allocations: 0.8125 kB / 457.1 MB, free: 35.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.184, allocations: 127.6 kB / 457.2 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1844, allocations: 42.28 kB / 457.3 MB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1866, allocations: 3.362 MB / 460.6 MB, free: 32.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.1867, allocations: 163.3 kB / 460.8 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.615e-05/0.1868, allocations: 38.22 kB / 460.8 MB, free: 32.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.1869, allocations: 97.48 kB / 460.9 MB, free: 32.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1869, allocations: 0 / 460.9 MB, free: 32.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.2051, allocations: 6.147 MB / 467.1 MB, free: 31.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.236, allocations: 14.28 kB / 467.1 MB, free: 31.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.303474919870496]