Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001371/0.001371, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001675/0.001675, allocations: 183.9 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 43.92 kB / 370.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.293, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00323/0.2962, allocations: 1.474 MB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000204/0.2964, allocations: 23.92 kB / 424.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.2965, allocations: 7.938 kB / 424.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.2965, allocations: 3.984 kB / 424.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.2965, allocations: 3.938 kB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2968, allocations: 23.97 kB / 424.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.2969, allocations: 31.92 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.297, allocations: 4 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.2971, allocations: 15.94 kB / 424.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.2971, allocations: 19.91 kB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2972, allocations: 0 / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.2972, allocations: 4 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2972, allocations: 7.938 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.2972, allocations: 15.92 kB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2973, allocations: 31.27 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2974, allocations: 0 / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2974, allocations: 0 / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2974, allocations: 4 kB / 424.3 MB, free: 12.91 MB / 334.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.0005428/0.2979, allocations: 275.2 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2979, allocations: 8.031 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.298, allocations: 30.75 kB / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.298, allocations: 4.938 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2983, allocations: 130.4 kB / 424.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2983, allocations: 384 / 424.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2983, allocations: 4.375 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.2987, allocations: 119.8 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2987, allocations: 3.938 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2987, allocations: 4 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.2987, allocations: 4 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2988, allocations: 23.91 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.299, allocations: 128.8 kB / 425 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2992, allocations: 54.55 kB / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.2993, allocations: 24.92 kB / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2993, allocations: 0 / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2993, allocations: 34.56 kB / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2993, allocations: 0 / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003064/0.2996, allocations: 93.47 kB / 425.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.2997, allocations: 59.39 kB / 425.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2998, allocations: 105.9 kB / 425.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2998, allocations: 25.7 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.2999, allocations: 84.14 kB / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2999, allocations: 3.984 kB / 425.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.3, allocations: 21.66 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3001, allocations: 314.8 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.3001, allocations: 4 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.3002, allocations: 35.67 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.3002, allocations: 35.5 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3002, allocations: 4 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.3003, allocations: 65.59 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3003, allocations: 11.94 kB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3003, allocations: 0 / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3004, allocations: 0 / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.3004, allocations: 11.94 kB / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3004, allocations: 0 / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.3005, allocations: 11.94 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3005, allocations: 0 / 426 MB, free: 10.98 MB / 334.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.4e-05/0.3006, allocations: 113.8 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.3007, allocations: 73.64 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3007, allocations: 8 kB / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3008, allocations: 0 / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3008, allocations: 0 / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3008, allocations: 0 / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3009, allocations: 128.7 kB / 426.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3009, allocations: 4 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.3009, allocations: 4 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3009, allocations: 7.938 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3009, allocations: 3.984 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.301, allocations: 0 / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.301, allocations: 4 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.3011, allocations: 93 kB / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.3011, allocations: 4 kB / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3012, allocations: 7.938 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.3012, allocations: 7.984 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-06/0.3012, allocations: 0 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3012, allocations: 0 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.3013, allocations: 91.28 kB / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3013, allocations: 0 / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.3014, allocations: 4 kB / 426.6 MB, free: 10.35 MB / 334.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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.00062/0.3021, allocations: 0.6436 MB / 427.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3022, allocations: 36.17 kB / 427.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3022, allocations: 4.062 kB / 427.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3022, allocations: 0 / 427.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3025, allocations: 40.12 kB / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3037, allocations: 1.178 MB / 428.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.304, allocations: 0.6844 MB / 429.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.293e-05/0.304, allocations: 3.984 kB / 429.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3041, allocations: 11.44 kB / 429.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3041, allocations: 4 kB / 429.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.3329, allocations: 1.484 MB / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.06, allocations: 10.98 kB / 430.7 MB, free: 6.238 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_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_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height [Calling sys.exit(0), Time elapsed: 13.635583518000203]