Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001277/0.001277, allocations: 79.7 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.0009455/0.0009455, allocations: 174.3 kB / 23.95 MB, free: 0.6133 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.9031/0.9031, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.61e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00218/0.002197, allocations: 1.559 MB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.002616, allocations: 143.4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.002705, allocations: 3.938 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.002749, allocations: 7.922 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.002894, allocations: 15.88 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.003136, allocations: 35.89 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003238, allocations: 35.86 kB / 326.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003338, allocations: 19.92 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.003382, allocations: 15.98 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.003424, allocations: 11.92 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.003451, allocations: 4 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.003461, allocations: 4 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.003508, allocations: 15.92 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003535, allocations: 7.984 kB / 326.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003652, allocations: 39.88 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003653, allocations: 0 / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003654, allocations: 0 / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.003659, allocations: 0 / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003699/0.004029, allocations: 301.3 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004067, allocations: 12.03 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.004095, allocations: 38.67 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.004118, allocations: 8.891 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.004301, allocations: 144.4 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.004311, allocations: 384 / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.004321, allocations: 16.3 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.00458, allocations: 113.6 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004588, allocations: 192 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.004598, allocations: 384 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.004605, allocations: 8.125 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.004655, allocations: 19.92 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.004933, allocations: 224.9 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.005095, allocations: 61.14 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.005296, allocations: 29.77 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.005313, allocations: 0 / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005331, allocations: 38.5 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005332, allocations: 0 / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002486/0.005581, allocations: 81.55 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.005628, allocations: 77.11 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.005717, allocations: 134.1 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.005726, allocations: 25.7 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.005767, allocations: 84.14 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.005778, allocations: 12.02 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.005801, allocations: 13.72 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.005877, allocations: 318.8 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.005894, allocations: 4 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.005908, allocations: 7.984 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.005938, allocations: 20.86 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00594, allocations: 0 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.087e-05/0.005991, allocations: 53.67 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006003, allocations: 4 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006007, allocations: 0 / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006018, allocations: 0 / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.202e-05/0.00605, allocations: 7.938 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.006055, allocations: 3.938 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.006069, allocations: 3.938 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006074, allocations: 4 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.23e-05/0.006136, allocations: 117.8 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.006176, allocations: 49.59 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.006201, allocations: 16.36 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006204, allocations: 4 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006209, allocations: 3.938 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006211, allocations: 0 / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.006335, allocations: 128.8 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.006337, allocations: 4 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.006363, allocations: 11.98 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.006368, allocations: 7.938 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006374, allocations: 4 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006375, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006376, allocations: 8.172 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.713e-05/0.006473, allocations: 168.3 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.0065, allocations: 15.88 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.006511, allocations: 4 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.00654, allocations: 0 / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.006563, allocations: 8 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.006566, allocations: 0 / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.006608, allocations: 103.2 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006608, allocations: 0 / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.006743, allocations: 8 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0002813/0.007024, allocations: 0.7003 MB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.007105, allocations: 23.98 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007107, allocations: 0 / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.007124, allocations: 11.92 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.007466, allocations: 16.03 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.008251, allocations: 1.263 MB / 331 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.008305, allocations: 75.28 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.008327, allocations: 3.984 kB / 331.1 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.008358, allocations: 12.5 kB / 331.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008359, allocations: 3.938 kB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02432, allocations: 2.123 MB / 333.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.774, allocations: 3.688 kB / 333.2 MB, free: 6.977 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.y,step.y,step.height [Calling sys.exit(0), Time elapsed: 8.601587194018066]