Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001712/0.001712, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001988/0.001988, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 377.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2473, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002649/0.25, allocations: 1.479 MB / 432.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001851/0.2502, allocations: 39.86 kB / 432.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.2502, allocations: 0 / 432.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2503, allocations: 3.938 kB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.2503, allocations: 11.92 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.2505, allocations: 27.91 kB / 432.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.2506, allocations: 31.92 kB / 432.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.2507, allocations: 7.984 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.2508, allocations: 23.92 kB / 432.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.2508, allocations: 15.92 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2508, allocations: 4 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2509, allocations: 11.94 kB / 432.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.2509, allocations: 7.984 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.2509, allocations: 11.94 kB / 432.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.251, allocations: 43.19 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.251, allocations: 0 / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.251, allocations: 0 / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.251, allocations: 0 / 432.8 MB, free: 4.945 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.0004908/0.2515, allocations: 279.3 kB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2516, allocations: 12.03 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.2516, allocations: 34.75 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2516, allocations: 16.89 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.2518, allocations: 122.4 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2519, allocations: 4.375 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2519, allocations: 4.375 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.2525, allocations: 155.8 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2525, allocations: 3.938 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.2525, allocations: 0 / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2525, allocations: 7.938 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.2527, allocations: 55.88 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2529, allocations: 124.8 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.2532, allocations: 82.5 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2533, allocations: 36.91 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2534, allocations: 0 / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2534, allocations: 30.56 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.2534, allocations: 0 / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004792/0.2539, allocations: 125.6 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.2539, allocations: 59.41 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.254, allocations: 105.8 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.254, allocations: 29.7 kB / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2541, allocations: 84.14 kB / 434.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.2541, allocations: 7.953 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.2541, allocations: 17.72 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2543, allocations: 314.8 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.2543, allocations: 4 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.2543, allocations: 27.44 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.2544, allocations: 43.36 kB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2544, allocations: 4 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.704e-05/0.2545, allocations: 57.58 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2545, allocations: 11.94 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2545, allocations: 3.984 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2545, allocations: 0 / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.2546, allocations: 8 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2546, allocations: 8.25 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.2546, allocations: 0 / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.2546, allocations: 128 / 434.6 MB, free: 2.879 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.273e-05/0.2547, allocations: 117.8 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.255, allocations: 97.45 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.255, allocations: 15.94 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.255, allocations: 0 / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.255, allocations: 0 / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.255, allocations: 0 / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.2551, allocations: 124.8 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2551, allocations: 8.125 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.2552, allocations: 11.98 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2552, allocations: 3.938 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2552, allocations: 7.984 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2552, allocations: 0 / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2552, allocations: 7.984 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.2555, allocations: 117 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.2555, allocations: 3.984 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2555, allocations: 3.938 kB / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.2556, allocations: 11.98 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.2556, allocations: 0 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2556, allocations: 0 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.2557, allocations: 83.28 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2557, allocations: 0 / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.2559, allocations: 12 kB / 435.3 MB, free: 2.18 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.0007682/0.2566, allocations: 0.6826 MB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.2568, allocations: 43.91 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.2569, allocations: 0 / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-07/0.2569, allocations: 0 / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.2572, allocations: 46.52 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2583, allocations: 1.194 MB / 437.2 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.2584, allocations: 67.34 kB / 437.3 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.2584, allocations: 4 kB / 437.3 MB, free: 0 / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2585, allocations: 7.562 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2585, allocations: 0 / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.2857, allocations: 2.065 MB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.9, allocations: 15.31 kB / 439.4 MB, free: 14.05 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.451775639987318]