Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8668/0.8668, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.146e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001959/0.001981, allocations: 1.481 MB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.002146, allocations: 23.86 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.002204, allocations: 0 / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.002231, allocations: 11.92 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.002268, allocations: 7.922 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.002495, allocations: 31.92 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.002586, allocations: 27.92 kB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.002683, allocations: 11.98 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.002732, allocations: 15.98 kB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.002768, allocations: 11.94 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.002791, allocations: 0 / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.0028, allocations: 4 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.002818, allocations: 7.969 kB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.002848, allocations: 11.94 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.002936, allocations: 31.89 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002938, allocations: 0 / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.002939, allocations: 4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.002943, allocations: 0 / 326.3 MB, free: 14.23 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.0003559/0.003299, allocations: 273.2 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.00334, allocations: 8.031 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.003372, allocations: 34.75 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.003394, allocations: 4.891 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.003574, allocations: 129.6 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.003593, allocations: 384 / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.003601, allocations: 4.375 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.003841, allocations: 123.8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.003849, allocations: 192 / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.003858, allocations: 4.359 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.003865, allocations: 8.109 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.003933, allocations: 23.98 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.004034, allocations: 128.7 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.004143, allocations: 58.52 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.004189, allocations: 24.89 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.004198, allocations: 0 / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.004218, allocations: 34.56 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004219, allocations: 0 / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001827/0.004402, allocations: 77.66 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.004452, allocations: 63.28 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.004506, allocations: 105.8 kB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.004514, allocations: 29.7 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.004543, allocations: 84.14 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.004553, allocations: 3.984 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.004575, allocations: 13.72 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.004649, allocations: 314.8 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.004659, allocations: 4 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.004663, allocations: 4 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.004687, allocations: 12.86 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004689, allocations: 0 / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.895e-05/0.004728, allocations: 41.64 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.004738, allocations: 4 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.004744, allocations: 7.938 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.004754, allocations: 0 / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.004797, allocations: 3.938 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.004802, allocations: 3.938 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-06/0.00481, allocations: 12.09 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.004814, allocations: 0 / 327.9 MB, free: 12.42 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: 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 (2): * Single equations (assignments): 2 * 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.638e-05/0.00487, allocations: 110.1 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.004943, allocations: 61.67 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.004963, allocations: 7.984 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004964, allocations: 0 / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.00497, allocations: 11.94 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004973, allocations: 0 / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.747e-05/0.00503, allocations: 128.8 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005031, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.005059, allocations: 12 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00506, allocations: 0 / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.005066, allocations: 3.938 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005067, allocations: 0 / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.00507, allocations: 7.922 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.147e-05/0.005161, allocations: 93.3 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.005167, allocations: 4.031 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.005178, allocations: 0 / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.005193, allocations: 11.98 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-06/0.005196, allocations: 3.938 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.0052, allocations: 4 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.005226, allocations: 83.28 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005226, allocations: 0 / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.005373, allocations: 4 kB / 328.4 MB, free: 11.8 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: 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.0003095/0.005682, allocations: 0.65 MB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.005761, allocations: 19.98 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005762, allocations: 3.938 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.005762, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.005965, allocations: 31.86 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.006634, allocations: 1.115 MB / 330.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.006673, allocations: 67.33 kB / 330.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.006689, allocations: 0 / 330.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.006724, allocations: 16.5 kB / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006724, allocations: 0 / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.02096, allocations: 2.007 MB / 332.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/6.953, allocations: 8.062 kB / 332.3 MB, free: 7.875 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.72636728733778]