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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001269, allocations: 107.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 189.4 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 55.91 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2607, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002714/0.2635, allocations: 1.465 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000262/0.2638, allocations: 98.19 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.2638, allocations: 1.094 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.2639, allocations: 3.984 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.2639, allocations: 9.156 kB / 401.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.2641, allocations: 26.91 kB / 401.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.2642, allocations: 26.22 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.2643, allocations: 8.641 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.2643, allocations: 8.25 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2644, allocations: 15.2 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2644, allocations: 2.25 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.2644, allocations: 1.219 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2645, allocations: 9.141 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.2645, allocations: 11.41 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.566e-05/0.2646, allocations: 26.53 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2646, allocations: 5.156 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2646, allocations: 0 / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2646, allocations: 0 / 402 MB, free: 7.082 MB / 318.1 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.0003989/0.265, allocations: 345.4 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.265, allocations: 8.031 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.2651, allocations: 34.75 kB / 402.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.2651, allocations: 0.9375 kB / 402.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2653, allocations: 196.1 kB / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2653, allocations: 384 / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.2654, allocations: 384 / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2657, allocations: 115.8 kB / 402.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2657, allocations: 7.922 kB / 402.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2657, allocations: 0 / 402.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2657, allocations: 8 kB / 402.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.2658, allocations: 15.98 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.266, allocations: 153.7 kB / 402.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2661, allocations: 58.48 kB / 402.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.2662, allocations: 24.92 kB / 402.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2662, allocations: 4 kB / 402.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2663, allocations: 30.56 kB / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2663, allocations: 0 / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000216/0.2665, allocations: 77.5 kB / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2665, allocations: 59.34 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.2666, allocations: 105.8 kB / 403.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2667, allocations: 29.7 kB / 403.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.2667, allocations: 84.14 kB / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.2667, allocations: 0 / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.2668, allocations: 21.7 kB / 403.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2669, allocations: 310.8 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2669, allocations: 8 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.2669, allocations: 27.42 kB / 403.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.267, allocations: 35.38 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.267, allocations: 4 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.702e-05/0.2671, allocations: 53.62 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2671, allocations: 7.938 kB / 403.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2671, allocations: 4.375 kB / 403.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2671, allocations: 4 kB / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.2672, allocations: 11.94 kB / 403.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2672, allocations: 0 / 403.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.2672, allocations: 4 kB / 403.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.2672, allocations: 0 / 403.8 MB, free: 5.012 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 7.609e-05/0.2673, allocations: 113.8 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2674, allocations: 61.56 kB / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.2675, allocations: 15.84 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2675, allocations: 4 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2675, allocations: 0 / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2675, allocations: 0 / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2676, allocations: 153.7 kB / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2676, allocations: 3.984 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.2677, allocations: 12.27 kB / 404.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.2677, allocations: 3.938 kB / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2677, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2677, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2677, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.2678, allocations: 89.09 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.2679, allocations: 89 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2679, allocations: 3.938 kB / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.2679, allocations: 3.984 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.268, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.268, allocations: 4 kB / 404.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.268, allocations: 83.28 kB / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.268, allocations: 4 kB / 404.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.2682, allocations: 4 kB / 404.4 MB, free: 4.266 MB / 318.1 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.0004494/0.2687, allocations: 0.6279 MB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2688, allocations: 36.11 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2688, allocations: 0 / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2688, allocations: 0 / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.269, allocations: 23.97 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.27, allocations: 1.154 MB / 406.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2703, allocations: 0.6805 MB / 406.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.187e-05/0.2703, allocations: 4 kB / 406.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2703, allocations: 7.438 kB / 406.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2704, allocations: 0 / 406.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2911, allocations: 1.256 MB / 408.2 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.99, allocations: 4.688 kB / 408.2 MB, free: 440 kB / 318.1 MB (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.0004 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches