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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001609/0.001609, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002127/0.002127, allocations: 47.92 kB / 377.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2699, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003209/0.2731, allocations: 1.47 MB / 432.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.2734, allocations: 35.84 kB / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.2734, allocations: 4 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.2735, allocations: 7.922 kB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.2735, allocations: 7.938 kB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2738, allocations: 15.98 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.2739, allocations: 23.94 kB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.274, allocations: 11.97 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.274, allocations: 11.94 kB / 432.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.2741, allocations: 15.92 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2741, allocations: 4 kB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2741, allocations: 0 / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2741, allocations: 12 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.2742, allocations: 15.86 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2743, allocations: 35.2 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2743, allocations: 0 / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.2743, allocations: 4 kB / 432.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2743, allocations: 0 / 432.8 MB, free: 4.965 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.0004658/0.2748, allocations: 267.3 kB / 433 MB, free: 4.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2748, allocations: 8.031 kB / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.2748, allocations: 30.75 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2749, allocations: 8.891 kB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2751, allocations: 126.5 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2751, allocations: 4.375 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2751, allocations: 4.312 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.2755, allocations: 119.8 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2755, allocations: 3.938 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2755, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2756, allocations: 4 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.2757, allocations: 23.97 kB / 433.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2758, allocations: 124.8 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.276, allocations: 62.47 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.2761, allocations: 24.92 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2761, allocations: 3.984 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2762, allocations: 34.56 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2762, allocations: 0 / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003166/0.2765, allocations: 85.55 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.2765, allocations: 51.41 kB / 433.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.2766, allocations: 109.8 kB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2767, allocations: 33.64 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.2767, allocations: 84.14 kB / 433.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.2767, allocations: 7.938 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.2768, allocations: 17.72 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2769, allocations: 318.8 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.2769, allocations: 4 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.277, allocations: 27.44 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.277, allocations: 39.38 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.277, allocations: 0 / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.299e-05/0.2771, allocations: 61.58 kB / 434.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2772, allocations: 11.94 kB / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2772, allocations: 0 / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2772, allocations: 0 / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.2773, allocations: 11.98 kB / 434.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2773, allocations: 3.938 kB / 434.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.2773, allocations: 8 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2773, allocations: 3.938 kB / 434.5 MB, free: 3.047 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 0.0001127/0.2774, allocations: 117.9 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.2776, allocations: 69.61 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.2776, allocations: 8 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2776, allocations: 240 / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2776, allocations: 0 / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2776, allocations: 7.969 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2777, allocations: 124.7 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2777, allocations: 0 / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.2778, allocations: 11.98 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2778, allocations: 7.875 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2778, allocations: 4 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2778, allocations: 4 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2778, allocations: 0 / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.278, allocations: 89.47 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.278, allocations: 4 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.278, allocations: 7.875 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.278, allocations: 8 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-06/0.278, allocations: 0 / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.278, allocations: 0 / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.537e-05/0.2781, allocations: 91.27 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2781, allocations: 0 / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000182/0.2783, allocations: 4 kB / 435 MB, free: 2.414 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.0006717/0.2789, allocations: 0.6553 MB / 435.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2791, allocations: 27.92 kB / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2791, allocations: 0 / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2791, allocations: 0 / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2794, allocations: 30.16 kB / 435.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2806, allocations: 1.174 MB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.2807, allocations: 71.59 kB / 437 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.2807, allocations: 7.984 kB / 437 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.2807, allocations: 11.44 kB / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2807, allocations: 0 / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.3097, allocations: 1.897 MB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.37, allocations: 10.67 kB / 438.9 MB, free: 14.53 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: 13.872999872080982]