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.00158/0.00158, 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.001725/0.001725, allocations: 209.9 kB / 23.72 MB, free: 4.391 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.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001565/0.001565, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002706/0.2519, allocations: 1.482 MB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.2521, allocations: 39.84 kB / 432.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.2522, allocations: 3.938 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.2522, allocations: 3.938 kB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.2522, allocations: 7.875 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.2525, allocations: 27.95 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.2526, allocations: 39.92 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.2527, allocations: 4 kB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.2527, allocations: 23.91 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.2528, allocations: 15.92 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2528, allocations: 4 kB / 432.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.2528, allocations: 0 / 432.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2528, allocations: 11.98 kB / 432.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2529, allocations: 15.94 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.253, allocations: 41.5 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.253, allocations: 0 / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.253, allocations: 0 / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.253, allocations: 4 kB / 432.8 MB, free: 4.898 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.0004858/0.2535, allocations: 282.2 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2535, allocations: 12.03 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2535, allocations: 34.75 kB / 433.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.2536, allocations: 8.891 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2538, allocations: 126.4 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2538, allocations: 4.375 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2538, allocations: 384 / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.2544, allocations: 159.7 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2544, allocations: 3.938 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2544, allocations: 4 kB / 433.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2544, allocations: 0 / 433.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.2546, allocations: 47.94 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2548, allocations: 124.8 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2551, allocations: 86.44 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2552, allocations: 44.84 kB / 433.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2552, allocations: 0 / 433.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2553, allocations: 30.56 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2553, allocations: 4 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004667/0.2557, allocations: 117.5 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.2558, allocations: 55.41 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.2559, allocations: 105.8 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2559, allocations: 29.7 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.256, allocations: 80.14 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.256, allocations: 11.89 kB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.256, allocations: 17.72 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2562, allocations: 318.8 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.2562, allocations: 7.938 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.2562, allocations: 31.44 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.2563, allocations: 35.38 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2563, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.752e-05/0.2564, allocations: 57.81 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2564, allocations: 11.94 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2564, allocations: 128 / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2564, allocations: 12.11 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.2565, allocations: 11.98 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2565, allocations: 3.938 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.2565, allocations: 8 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.2565, allocations: 0 / 434.7 MB, free: 2.824 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.002e-05/0.2566, allocations: 109.8 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.2569, allocations: 97.52 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2569, allocations: 8 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.2569, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2569, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2569, allocations: 4 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.731e-05/0.257, allocations: 128.7 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.257, allocations: 0 / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2571, allocations: 15.98 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2571, allocations: 3.938 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2571, allocations: 0 / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2571, allocations: 7.922 kB / 435 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2571, allocations: 0 / 435 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.2574, allocations: 113 kB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.2574, allocations: 7.984 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.2575, allocations: 7.938 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.2575, allocations: 11.98 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-06/0.2575, allocations: 0 / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2575, allocations: 4 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.2576, allocations: 87.27 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2576, allocations: 0 / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.2578, allocations: 4 kB / 435.3 MB, free: 2.141 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.0007895/0.2586, allocations: 0.6904 MB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.2587, allocations: 43.91 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2587, allocations: 4.312 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2587, allocations: 0 / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2591, allocations: 38.75 kB / 436 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2602, allocations: 1.189 MB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.2603, allocations: 71.27 kB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.161e-05/0.2603, allocations: 7.938 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.2604, allocations: 11.44 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2604, allocations: 4 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.287, allocations: 2.037 MB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 7.922 kB / 439.4 MB, free: 14.03 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.598920333664864]