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.001097/0.001097, allocations: 112.8 kB / 17.06 MB, free: 5.773 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.001208/0.001208, allocations: 200 kB / 18.01 MB, free: 4.914 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 43.94 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3078, allocations: 49.45 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003093/0.3109, allocations: 1.461 MB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.3113, allocations: 99 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.3113, allocations: 1.062 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.3114, allocations: 3.984 kB / 401.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.3115, allocations: 3.938 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3118, allocations: 23.55 kB / 401.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.3119, allocations: 34.3 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.312, allocations: 9.328 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.312, allocations: 7.625 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.3121, allocations: 18.75 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3121, allocations: 2.031 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3121, allocations: 2.375 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.3121, allocations: 4.844 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.3122, allocations: 11.03 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.3123, allocations: 24.97 kB / 402 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3123, allocations: 8 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3123, allocations: 0 / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3123, allocations: 0 / 402 MB, free: 7.086 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.0004342/0.3128, allocations: 346.3 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3128, allocations: 12.03 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3129, allocations: 34.69 kB / 402.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.3129, allocations: 4.938 kB / 402.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3132, allocations: 184.2 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3132, allocations: 4.375 kB / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3132, allocations: 8.312 kB / 402.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3136, allocations: 107.9 kB / 402.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3136, allocations: 3.938 kB / 402.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3136, allocations: 0 / 402.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3136, allocations: 0 / 402.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.3137, allocations: 23.98 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3139, allocations: 153.7 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.314, allocations: 58.47 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.3141, allocations: 24.92 kB / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3141, allocations: 0 / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3142, allocations: 38.56 kB / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3142, allocations: 0 / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002842/0.3145, allocations: 73.56 kB / 403 MB, free: 5.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3145, allocations: 55.34 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.3146, allocations: 105.8 kB / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3147, allocations: 29.7 kB / 403.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3147, allocations: 80.14 kB / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.3147, allocations: 8 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3148, allocations: 17.7 kB / 403.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3149, allocations: 314.8 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.3149, allocations: 4 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.315, allocations: 23.44 kB / 403.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.315, allocations: 43.36 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.315, allocations: 0 / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.328e-05/0.3151, allocations: 49.64 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3151, allocations: 7.938 kB / 403.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3151, allocations: 7.984 kB / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3152, allocations: 0 / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.3152, allocations: 16.06 kB / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3152, allocations: 3.984 kB / 403.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.3152, allocations: 256 / 403.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3153, allocations: 8 kB / 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.546e-05/0.3153, allocations: 113.8 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3154, allocations: 65.56 kB / 403.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.3155, allocations: 7.906 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3155, allocations: 0 / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3155, allocations: 7.938 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3155, allocations: 0 / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.3156, allocations: 161.5 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3156, allocations: 0 / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3157, allocations: 15.92 kB / 404.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3157, allocations: 3.938 kB / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3157, allocations: 0 / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3157, allocations: 4 kB / 404.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3157, allocations: 0 / 404.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3159, allocations: 85.11 kB / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.3159, allocations: 81.06 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.316, allocations: 3.938 kB / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.316, allocations: 4.375 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.316, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.316, allocations: 3.984 kB / 404.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.659e-05/0.316, 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.3161, allocations: 0 / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000183/0.3162, allocations: 4 kB / 404.4 MB, free: 4.27 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.0003916/0.3166, allocations: 0.6319 MB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3168, allocations: 23.92 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3168, allocations: 256 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3168, allocations: 4 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.317, allocations: 28 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.3179, allocations: 1.152 MB / 406.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3182, allocations: 0.6883 MB / 406.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.3183, allocations: 0 / 406.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.3183, allocations: 11.44 kB / 406.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3183, allocations: 0 / 406.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.3364, allocations: 1.26 MB / 408.2 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.031, allocations: 0.625 kB / 408.2 MB, free: 444 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