Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.0009804/0.0009804, 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.0008091/0.0008091, allocations: 157 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.9262/0.9262, allocations: 173.4 MB / 200.5 MB, free: 9.445 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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.973e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001948/0.001968, allocations: 1.464 MB / 319.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.002205, allocations: 99.61 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.002262, allocations: 4 kB / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.002293, allocations: 3.938 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.002332, allocations: 3.938 kB / 320 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.002565, allocations: 27.84 kB / 320 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.002644, allocations: 31.88 kB / 320.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.002735, allocations: 11.98 kB / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.002776, allocations: 15.97 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.002814, allocations: 7.938 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.002837, allocations: 4 kB / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.002844, allocations: 0 / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.00286, allocations: 4 kB / 320.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.002888, allocations: 7.984 kB / 320.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.706e-05/0.002965, allocations: 27.89 kB / 320.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002968, allocations: 4 kB / 320.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002969, allocations: 0 / 320.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.002973, allocations: 8 kB / 320.2 MB, free: 4.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003225/0.003295, allocations: 258.3 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.003332, allocations: 12.91 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.003363, allocations: 38.75 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.003381, allocations: 4.938 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.003533, allocations: 125.6 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.003541, allocations: 384 / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.00355, allocations: 8.375 kB / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.003775, allocations: 103.9 kB / 320.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003781, allocations: 192 / 320.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003789, allocations: 384 / 320.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003794, allocations: 4.125 kB / 320.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.003844, allocations: 19.98 kB / 320.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.581e-05/0.00394, allocations: 128.8 kB / 320.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.004041, allocations: 54.55 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.004078, allocations: 28.86 kB / 320.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.004093, allocations: 0 / 320.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.00411, allocations: 30.56 kB / 321 MB, free: 3.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.004111, allocations: 0 / 321 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001573/0.004268, allocations: 77.61 kB / 321 MB, free: 3.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.004304, allocations: 55.34 kB / 321.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.004357, allocations: 105.8 kB / 321.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.004366, allocations: 29.64 kB / 321.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.004393, allocations: 88.14 kB / 321.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.004395, allocations: 0 / 321.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.00441, allocations: 13.72 kB / 321.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.004487, allocations: 318.8 kB / 321.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.004492, allocations: 0 / 321.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-06/0.004494, allocations: 0 / 321.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.004513, allocations: 79.22 kB / 321.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.004528, allocations: 79.28 kB / 321.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.841e-05/0.004557, allocations: 25.7 kB / 321.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.004586, allocations: 87.28 kB / 321.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.004604, allocations: 79.22 kB / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/0.004643, allocations: 154.6 kB / 322.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.004663, allocations: 83.22 kB / 322.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.532e-05/0.004698, allocations: 158.5 kB / 322.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.00474, allocations: 75.28 kB / 322.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.00476, allocations: 83.22 kB / 322.5 MB, free: 2.062 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 (0): * Single equations (assignments): 0 * 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.287e-05/0.004823, allocations: 185.1 kB / 322.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.004887, allocations: 57.64 kB / 322.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.004913, allocations: 11.98 kB / 322.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004914, allocations: 0 / 322.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.004919, allocations: 7.938 kB / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004922, allocations: 256 / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.328e-05/0.004975, allocations: 124.8 kB / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.004979, allocations: 4 kB / 322.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.005033, allocations: 8 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.005036, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.00504, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.005044, allocations: 4 kB / 322.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005045, allocations: 3.938 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.005124, allocations: 85.05 kB / 323 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.00513, allocations: 7.953 kB / 323 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.005139, allocations: 4 kB / 323 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.005151, allocations: 3.984 kB / 323 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.005154, allocations: 3.938 kB / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.005158, allocations: 0 / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.005184, allocations: 91.22 kB / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005184, allocations: 0 / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.005322, allocations: 0 / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002389/0.005561, allocations: 0.6163 MB / 323.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.005613, allocations: 19.98 kB / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005615, allocations: 0 / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.005615, allocations: 0 / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.00578, allocations: 23.92 kB / 323.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.006442, allocations: 1.38 MB / 325.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.006478, allocations: 67.33 kB / 325.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.003e-05/0.006488, allocations: 3.938 kB / 325.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.006518, allocations: 8.594 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006518, allocations: 4 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02141, allocations: 1.834 MB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.731, allocations: 10.84 kB / 327.1 MB, free: 13.42 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.564060317352414]