Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 120.5 kB / 20.44 MB, free: 1.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 209.2 kB / 23.74 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.83 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003097/0.2821, allocations: 1.479 MB / 432.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.2823, allocations: 35.86 kB / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.2824, allocations: 0 / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.2824, allocations: 7.922 kB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.2824, allocations: 3.938 kB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.2827, allocations: 23.97 kB / 432.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.2828, allocations: 27.92 kB / 432.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.2829, allocations: 8 kB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.2829, allocations: 7.938 kB / 432.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.283, allocations: 19.91 kB / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.283, allocations: 0 / 432.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.283, allocations: 8 kB / 432.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.283, allocations: 4 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2831, allocations: 19.86 kB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.2832, allocations: 32.88 kB / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2832, allocations: 0 / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2832, allocations: 0 / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.2832, allocations: 0 / 432.9 MB, free: 5.012 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.0004269/0.2836, allocations: 265.7 kB / 433.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2836, allocations: 8.031 kB / 433.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.2837, allocations: 38.75 kB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.2837, allocations: 12.88 kB / 433.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2839, allocations: 126.4 kB / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2839, allocations: 384 / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2839, allocations: 4.375 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.2843, allocations: 115.8 kB / 433.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2843, allocations: 7.938 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2843, allocations: 8 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2843, allocations: 0 / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2844, allocations: 27.97 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2846, allocations: 128.7 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2847, allocations: 50.55 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.2848, allocations: 24.92 kB / 433.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2848, allocations: 3.938 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2849, allocations: 38.56 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2849, allocations: 0 / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002789/0.2851, allocations: 85.48 kB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2852, allocations: 63.39 kB / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.2853, allocations: 101.9 kB / 434 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2853, allocations: 25.7 kB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.2854, allocations: 80.14 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2854, allocations: 15.92 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.2854, allocations: 13.72 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2855, allocations: 318.8 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.2856, allocations: 4 kB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.2856, allocations: 31.42 kB / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.2856, allocations: 39.38 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2856, allocations: 0 / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.64e-05/0.2857, allocations: 65.58 kB / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2858, allocations: 10.44 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2858, allocations: 3.938 kB / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2858, allocations: 4 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.2859, allocations: 4.125 kB / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2859, allocations: 8 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.2859, allocations: 3.984 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.2859, allocations: 4 kB / 434.6 MB, free: 3.086 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.708e-05/0.286, allocations: 109.8 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.2861, allocations: 69.55 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.2862, allocations: 8.234 kB / 434.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2862, allocations: 0 / 434.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2862, allocations: 7.984 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2862, allocations: 0 / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.2863, allocations: 136.7 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2863, allocations: 4.312 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.2863, allocations: 8 kB / 434.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.2863, allocations: 3.938 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2863, allocations: 7.984 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2863, allocations: 0 / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2863, allocations: 0 / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2865, allocations: 85.11 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.2865, allocations: 8 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2865, allocations: 3.938 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.2866, allocations: 7.984 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.2866, allocations: 0 / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2866, allocations: 7.938 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.2866, allocations: 79.28 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000186/0.2868, allocations: 4 kB / 435.1 MB, free: 2.461 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.0005893/0.2874, allocations: 0.6514 MB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.2876, allocations: 31.92 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.2876, allocations: 0 / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2876, allocations: 3.938 kB / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.2879, allocations: 30.75 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.289, allocations: 1.182 MB / 437 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2893, allocations: 0.6807 MB / 437.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.061e-05/0.2893, allocations: 0 / 437.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2894, allocations: 19.38 kB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2894, allocations: 4 kB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.3163, allocations: 1.496 MB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.39, allocations: 7.922 kB / 439.2 MB, free: 14.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.104652001999057]