Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008018/0.0008018, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9108/0.9108, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.466e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001968/0.001983, allocations: 1.539 MB / 320 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00034/0.002323, allocations: 143.4 kB / 320.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.002415, allocations: 3.938 kB / 320.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.002469, allocations: 7.922 kB / 320.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.00265, allocations: 4 kB / 320.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.002935, allocations: 43.77 kB / 320.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003049, allocations: 31.92 kB / 320.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003165, allocations: 15.91 kB / 320.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.003218, allocations: 23.92 kB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.003264, allocations: 7.984 kB / 320.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.003292, allocations: 4 kB / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.003304, allocations: 4 kB / 320.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.003367, allocations: 15.92 kB / 320.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.003404, allocations: 15.92 kB / 320.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003527, allocations: 35.89 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003529, allocations: 0 / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003529, allocations: 0 / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.003534, allocations: 0 / 320.3 MB, free: 4.445 MB / 282.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.0004281/0.003963, allocations: 290.1 kB / 320.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.004009, allocations: 12.92 kB / 320.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.004047, allocations: 42.73 kB / 320.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.004073, allocations: 12.89 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.004253, allocations: 137.6 kB / 320.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.004263, allocations: 384 / 320.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004274, allocations: 4.375 kB / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.004548, allocations: 117.5 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004557, allocations: 192 / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004568, allocations: 8.375 kB / 321 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.004575, allocations: 4.125 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.004623, allocations: 23.92 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.004931, allocations: 220.9 kB / 321.2 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.005105, allocations: 61.14 kB / 321.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.005153, allocations: 25.77 kB / 321.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.005175, allocations: 4 kB / 321.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.005203, allocations: 38.48 kB / 321.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005204, allocations: 4 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.005425, allocations: 85.48 kB / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.005483, allocations: 81.11 kB / 321.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.005581, allocations: 133.3 kB / 321.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.005593, allocations: 29.7 kB / 321.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.00564, allocations: 80.14 kB / 321.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.005658, allocations: 8 kB / 321.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.005692, allocations: 13.67 kB / 321.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005798, allocations: 318.8 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.005819, allocations: 8.125 kB / 322.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.005839, allocations: 15.92 kB / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.005878, allocations: 12.86 kB / 322.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005881, allocations: 0 / 322.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.473e-05/0.005945, allocations: 53.61 kB / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.005961, allocations: 4 kB / 322.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.005967, allocations: 0 / 322.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.00598, allocations: 4.094 kB / 322.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.00602, allocations: 4 kB / 322.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.006027, allocations: 0 / 322.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.006044, allocations: 7.938 kB / 322.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.00605, allocations: 0 / 322.2 MB, free: 2.387 MB / 282.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.793e-05/0.006118, allocations: 113.8 kB / 322.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.00616, allocations: 53.53 kB / 322.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.006193, allocations: 16.33 kB / 322.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006195, allocations: 0 / 322.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.0062, allocations: 0 / 322.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006203, allocations: 7.938 kB / 322.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.006332, allocations: 136.8 kB / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006334, allocations: 0 / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.006362, allocations: 11.98 kB / 322.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006365, allocations: 3.938 kB / 322.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.006375, allocations: 0 / 322.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.006376, allocations: 4 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006377, allocations: 0 / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.006499, allocations: 168.3 kB / 322.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.006531, allocations: 23.88 kB / 322.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006543, allocations: 4 kB / 322.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.006573, allocations: 3.938 kB / 322.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.006615, allocations: 4 kB / 322.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006619, allocations: 0 / 322.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.006675, allocations: 107.2 kB / 322.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006675, allocations: 0 / 322.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.006822, allocations: 4 kB / 322.8 MB, free: 1.652 MB / 282.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.0003201/0.007142, allocations: 0.6976 MB / 323.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.085e-05/0.007233, allocations: 23.98 kB / 323.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007234, allocations: 0 / 323.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.007253, allocations: 7.984 kB / 323.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.007527, allocations: 27.2 kB / 323.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.008773, allocations: 1.254 MB / 324.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.008831, allocations: 75.5 kB / 324.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.008854, allocations: 7.969 kB / 324.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.008897, allocations: 16.5 kB / 324.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008898, allocations: 0 / 324.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.02439, allocations: 2.132 MB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.81, allocations: 10.31 kB / 327.1 MB, free: 13.4 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.643745600245893]