Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.0007886/0.0007886, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008177/0.0008177, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8602/0.8602, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.972e-05, allocations: 6.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001803/0.001823, allocations: 1.494 MB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.002057, allocations: 91.75 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.00212, allocations: 3.938 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.002146, allocations: 7.984 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.002183, allocations: 3.938 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.002397, allocations: 27.84 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.002475, allocations: 31.88 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.002565, allocations: 7.984 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.002601, allocations: 11.98 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.002637, allocations: 8 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.002657, allocations: 0 / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.002666, allocations: 7.938 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.002681, allocations: 3.984 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.002705, allocations: 11.98 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.002775, allocations: 27.91 kB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002777, allocations: 0 / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.002778, allocations: 0 / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002781, allocations: 0 / 326.3 MB, free: 14.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002865/0.003067, allocations: 266.3 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.003102, allocations: 11.98 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.003128, allocations: 34.73 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.855e-05/0.003147, allocations: 8.891 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00328, allocations: 121.7 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003288, allocations: 12.31 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.003411, allocations: 4.375 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.003619, allocations: 103.9 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.003625, allocations: 192 / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.003632, allocations: 384 / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.003638, allocations: 8.125 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.003684, allocations: 15.98 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.06e-05/0.003774, allocations: 136.7 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/0.003867, allocations: 58.53 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.0039, allocations: 20.92 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.003914, allocations: 3.938 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.003929, allocations: 34.56 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.00393, allocations: 0 / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.004071, allocations: 65.67 kB / 327.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.004106, allocations: 63.34 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.004154, allocations: 105.8 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.004163, allocations: 29.7 kB / 327.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.00419, allocations: 88.08 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-06/0.004192, allocations: 0 / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.004206, allocations: 13.66 kB / 327.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.004272, allocations: 318.8 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.004277, allocations: 3.938 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-06/0.004279, allocations: 0 / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.647e-05/0.004295, allocations: 75.28 kB / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.004311, allocations: 75.28 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.903e-05/0.00434, allocations: 33.7 kB / 327.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.004364, allocations: 82.56 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.004383, allocations: 87.22 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.004419, allocations: 150.6 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.004434, allocations: 79.22 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.004464, allocations: 158.5 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.004502, allocations: 79.27 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.004518, allocations: 79.22 kB / 328.6 MB, free: 11.55 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 (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 5.844e-05/0.004576, allocations: 189.1 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.004632, allocations: 57.64 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.004652, allocations: 11.98 kB / 328.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004654, allocations: 4 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004657, allocations: 3.938 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00466, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.67e-05/0.004706, allocations: 124.8 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.004709, allocations: 0 / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.004758, allocations: 8 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.004761, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.004765, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.004767, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.004769, allocations: 7.938 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.588e-05/0.004835, allocations: 85.05 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-06/0.00484, allocations: 7.953 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.004848, allocations: 0 / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.004858, allocations: 7.984 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.004861, allocations: 4.219 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.004865, allocations: 256 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.004894, allocations: 87.28 kB / 329.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004894, allocations: 0 / 329.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.005025, allocations: 4 kB / 329.2 MB, free: 10.88 MB / 298.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.0002138/0.005238, allocations: 0.6241 MB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.688e-05/0.005285, allocations: 11.98 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005286, allocations: 0 / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005287, allocations: 0 / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.005447, allocations: 31.86 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.006279, allocations: 1.375 MB / 331.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.006313, allocations: 67.34 kB / 331.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.127e-06/0.006322, allocations: 4 kB / 331.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.006348, allocations: 8.5 kB / 331.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006349, allocations: 4 kB / 331.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.01992, allocations: 1.823 MB / 333.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.654, allocations: 3.938 kB / 333.2 MB, free: 6.898 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.354205036535859]