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.001326/0.001326, allocations: 115.6 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.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.001447/0.001447, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.996 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.001527/0.001527, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002627/0.2835, allocations: 1.481 MB / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.2837, allocations: 35.84 kB / 432.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.2838, allocations: 0 / 432.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.2838, allocations: 3.938 kB / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.2838, allocations: 0 / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2841, allocations: 27.91 kB / 432.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.2841, allocations: 27.98 kB / 432.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.2842, allocations: 7.938 kB / 432.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.2843, allocations: 15.92 kB / 432.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.2843, allocations: 15.92 kB / 432.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2843, allocations: 4 kB / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.2843, allocations: 0 / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.2844, allocations: 15.92 kB / 432.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.2844, allocations: 7.938 kB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.749e-05/0.2845, allocations: 29.59 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2845, allocations: 4 kB / 432.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2845, allocations: 3.938 kB / 432.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2845, allocations: 0 / 432.8 MB, free: 5.18 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.0004321/0.2849, allocations: 274.2 kB / 433.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.285, allocations: 12.03 kB / 433.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.285, allocations: 38.73 kB / 433.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.2851, allocations: 4.891 kB / 433.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.2853, allocations: 118.5 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2853, allocations: 4.375 kB / 433.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2853, allocations: 8.375 kB / 433.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.2857, allocations: 123.8 kB / 433.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2857, allocations: 3.938 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.2857, allocations: 0 / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2857, allocations: 0 / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.2858, allocations: 27.97 kB / 433.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.2859, allocations: 136.7 kB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2861, allocations: 50.55 kB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2862, allocations: 28.86 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2862, allocations: 4 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2862, allocations: 30.56 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2862, allocations: 0 / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002936/0.2865, allocations: 81.59 kB / 433.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2866, allocations: 55.41 kB / 433.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.2867, allocations: 105.8 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2867, allocations: 25.7 kB / 433.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.2867, allocations: 84.14 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.2868, allocations: 4 kB / 434 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.2868, allocations: 17.72 kB / 434 MB, free: 3.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2869, allocations: 318.8 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.2869, allocations: 12 kB / 434.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.287, allocations: 27.69 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.287, allocations: 39.48 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.287, allocations: 4 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.873e-05/0.2871, allocations: 65.53 kB / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2871, allocations: 7.938 kB / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2871, allocations: 0 / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2872, allocations: 7.984 kB / 434.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.2872, allocations: 8 kB / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2872, allocations: 0 / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.2872, allocations: 0 / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2873, allocations: 11.94 kB / 434.5 MB, free: 3.25 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 8.277e-05/0.2873, allocations: 114 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2875, allocations: 65.61 kB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2875, allocations: 7.938 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2875, allocations: 7.984 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2875, allocations: 0 / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2875, allocations: 0 / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.2876, allocations: 128.7 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2876, allocations: 0 / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.2877, allocations: 11.98 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2877, allocations: 4.172 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2877, allocations: 8 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2877, allocations: 0 / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2877, allocations: 3.938 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.2879, allocations: 93.09 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.2879, allocations: 7.938 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2879, allocations: 3.938 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.2879, allocations: 4 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.2879, allocations: 0 / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2879, allocations: 4 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.382e-05/0.288, allocations: 95.27 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.288, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.2882, allocations: 4 kB / 435.1 MB, free: 2.613 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.0005706/0.2887, allocations: 0.6476 MB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.2889, allocations: 31.91 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2889, allocations: 3.938 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2889, allocations: 0 / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2892, allocations: 24.02 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2902, allocations: 1.178 MB / 437 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2905, allocations: 0.6807 MB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.2905, allocations: 0 / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.2906, allocations: 19.42 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2906, allocations: 0 / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.3168, allocations: 1.514 MB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.18, allocations: 7.094 kB / 439.2 MB, free: 14.5 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.694227277999744]