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.001797/0.001797, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002241/0.002241, allocations: 215.1 kB / 23.74 MB, free: 4.672 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.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.001813/0.001813, allocations: 67.89 kB / 377.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 53.4 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002791/0.2809, allocations: 1.487 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.2812, allocations: 35.91 kB / 432.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.2812, allocations: 0 / 432.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2813, allocations: 3.938 kB / 432.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.2813, allocations: 3.938 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2816, allocations: 31.89 kB / 432.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.2817, allocations: 35.92 kB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.2818, allocations: 7.938 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.2818, allocations: 15.98 kB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.2819, allocations: 15.92 kB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2819, allocations: 8 kB / 432.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.2819, allocations: 4 kB / 432.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.2819, allocations: 15.91 kB / 432.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.282, allocations: 15.94 kB / 432.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2821, allocations: 40.75 kB / 432.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2821, allocations: 3.938 kB / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2821, allocations: 0 / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2821, allocations: 0 / 432.9 MB, free: 4.93 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.0005217/0.2826, allocations: 285.7 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.2827, allocations: 8.031 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.2827, allocations: 34.75 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.2827, allocations: 8.891 kB / 433.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.2829, allocations: 126.4 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.283, allocations: 4.375 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.283, allocations: 384 / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.2836, allocations: 159.7 kB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2836, allocations: 7.938 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2836, allocations: 3.984 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2836, allocations: 4 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.2838, allocations: 43.94 kB / 433.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.284, allocations: 136.7 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.2843, allocations: 86.44 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2845, allocations: 36.91 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2845, allocations: 4 kB / 433.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2845, allocations: 34.5 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.2845, allocations: 0 / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004824/0.285, allocations: 121.5 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.2851, allocations: 55.34 kB / 434.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.2852, allocations: 109.8 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2852, allocations: 25.7 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.2852, allocations: 84.14 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2852, allocations: 7.953 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.2853, allocations: 17.72 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2854, allocations: 314.8 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.2854, allocations: 8 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.2855, allocations: 27.44 kB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.2855, allocations: 39.38 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2855, allocations: 0 / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.21e-05/0.2856, allocations: 57.62 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2856, allocations: 14.44 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2856, allocations: 0 / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2857, allocations: 128 / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.2857, allocations: 19.92 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2857, allocations: 4 kB / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.2858, allocations: 0 / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.2858, allocations: 0 / 434.8 MB, free: 2.859 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.76e-05/0.2858, allocations: 113.8 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.2861, allocations: 97.45 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.2862, allocations: 12 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2862, allocations: 0 / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2862, allocations: 0 / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2862, allocations: 4 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2863, allocations: 128.7 kB / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2863, allocations: 0 / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2864, allocations: 23.86 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2864, allocations: 3.938 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2864, allocations: 3.984 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2864, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2864, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2867, allocations: 121.2 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2867, allocations: 8.109 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2868, allocations: 11.94 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.2868, allocations: 7.984 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.2868, allocations: 0 / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2868, allocations: 4 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.2869, allocations: 83.58 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2869, allocations: 0 / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001869/0.2871, allocations: 8 kB / 435.4 MB, free: 2.156 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.00085/0.2879, allocations: 0.6904 MB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.2881, allocations: 39.91 kB / 436.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.2882, allocations: 4 kB / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.2882, allocations: 0 / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2886, allocations: 35.06 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2899, allocations: 1.197 MB / 437.4 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2903, allocations: 0.6807 MB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.2903, allocations: 8 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.2904, allocations: 11.44 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2904, allocations: 0 / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3185, allocations: 1.628 MB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.61, allocations: 11.86 kB / 439.7 MB, free: 13.82 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.124115783000889]