Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001532/0.001532, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001718/0.001718, allocations: 204.3 kB / 23.72 MB, free: 4.391 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2743, allocations: 53.4 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002961/0.2773, allocations: 1.479 MB / 432.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002026/0.2775, allocations: 39.84 kB / 432.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.2776, allocations: 3.938 kB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.2776, allocations: 3.938 kB / 432.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.2776, allocations: 7.938 kB / 432.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2779, allocations: 27.97 kB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.278, allocations: 35.91 kB / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.2781, allocations: 8 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.2781, allocations: 19.92 kB / 432.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.2782, allocations: 19.91 kB / 432.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2782, allocations: 4 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.2782, allocations: 4 kB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.2782, allocations: 7.938 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.2783, allocations: 15.92 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2784, allocations: 33.58 kB / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2784, allocations: 0 / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2784, allocations: 4 kB / 432.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2784, allocations: 0 / 432.9 MB, free: 4.723 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.0005151/0.2789, allocations: 282.2 kB / 433.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.279, allocations: 15.98 kB / 433.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.279, allocations: 34.73 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.279, allocations: 8.891 kB / 433.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2793, allocations: 130.3 kB / 433.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2793, allocations: 4.375 kB / 433.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2793, allocations: 384 / 433.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.2799, allocations: 159.8 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2799, allocations: 3.938 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.2799, allocations: 0 / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2799, allocations: 7.938 kB / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.2802, allocations: 43.94 kB / 433.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.2803, allocations: 124.8 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2806, allocations: 82.5 kB / 433.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2808, allocations: 40.91 kB / 433.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.2808, allocations: 0 / 433.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2808, allocations: 38.56 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2808, allocations: 0 / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004826/0.2813, allocations: 121.6 kB / 433.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2814, allocations: 63.44 kB / 434 MB, free: 3.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.2815, allocations: 105.8 kB / 434.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2815, allocations: 29.69 kB / 434.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.2815, allocations: 80.14 kB / 434.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2815, allocations: 11.95 kB / 434.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2816, allocations: 13.72 kB / 434.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2817, allocations: 318.8 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.2817, allocations: 11.94 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.2818, allocations: 31.38 kB / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.2818, allocations: 31.44 kB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2818, allocations: 4 kB / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.2819, allocations: 61.56 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.282, allocations: 12.06 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.282, allocations: 4 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.282, allocations: 0 / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.282, allocations: 11.98 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.282, allocations: 3.938 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.2821, allocations: 4 kB / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.2821, allocations: 0 / 434.7 MB, free: 2.641 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.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.549e-05/0.2822, allocations: 113.8 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.2824, allocations: 93.47 kB / 434.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.2825, allocations: 11.98 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2825, allocations: 0 / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2825, allocations: 4 kB / 434.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2825, allocations: 0 / 434.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2826, allocations: 124.8 kB / 435.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2826, allocations: 0 / 435.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2827, allocations: 15.98 kB / 435.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2827, allocations: 3.938 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2827, allocations: 4 kB / 435.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2827, allocations: 0 / 435.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2827, allocations: 4 kB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.283, allocations: 113 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.283, allocations: 8 kB / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.283, allocations: 11.92 kB / 435.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.2831, allocations: 8.125 kB / 435.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.2831, allocations: 4 kB / 435.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2831, allocations: 3.984 kB / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.2832, allocations: 83.28 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2832, allocations: 0 / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.2834, allocations: 8 kB / 435.3 MB, free: 1.953 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 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.0007722/0.2841, allocations: 0.6826 MB / 436 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2843, allocations: 48.02 kB / 436 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2843, allocations: 0 / 436 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2843, allocations: 0 / 436 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2847, allocations: 39.88 kB / 436.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2858, allocations: 1.197 MB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.2859, allocations: 67.33 kB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.084e-05/0.2859, allocations: 0.5312 kB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.286, allocations: 19.44 kB / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.286, allocations: 0 / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.3149, allocations: 2.06 MB / 439.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.18, allocations: 7.312 kB / 439.4 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_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_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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,ramp.y,periodicClock1.period,ramp.height [Calling sys.exit(0), Time elapsed: 13.70788921834901]