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.001923/0.001923, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002243/0.002243, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001542/0.001542, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 53.36 MB / 431.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002971/0.2599, allocations: 1.489 MB / 432.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.2601, allocations: 39.84 kB / 432.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.2602, allocations: 0 / 432.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.2602, allocations: 3.938 kB / 432.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.2602, allocations: 3.938 kB / 432.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2605, allocations: 27.97 kB / 432.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2606, allocations: 39.91 kB / 432.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2607, allocations: 4 kB / 432.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.2608, allocations: 19.92 kB / 432.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.2609, allocations: 15.92 kB / 432.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2609, allocations: 4 kB / 432.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.2609, allocations: 8 kB / 432.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2609, allocations: 11.92 kB / 432.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.261, allocations: 15.92 kB / 432.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2611, allocations: 40.81 kB / 432.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2611, allocations: 0 / 432.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2611, allocations: 0 / 432.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2611, allocations: 0 / 432.9 MB, free: 5.281 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.0005887/0.2617, allocations: 278 kB / 433.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2617, allocations: 8.031 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.2618, allocations: 38.73 kB / 433.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2618, allocations: 16.83 kB / 433.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2621, allocations: 134.4 kB / 433.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2621, allocations: 4.359 kB / 433.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.2621, allocations: 384 / 433.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.2627, allocations: 155.7 kB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2627, allocations: 3.938 kB / 433.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2627, allocations: 4 kB / 433.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2627, allocations: 4 kB / 433.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.2629, allocations: 47.94 kB / 433.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2631, allocations: 132.7 kB / 433.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.2634, allocations: 82.5 kB / 433.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2635, allocations: 40.91 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2635, allocations: 0 / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2636, allocations: 38.5 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2636, allocations: 3.938 kB / 433.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004595/0.264, allocations: 117.5 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.2641, allocations: 55.41 kB / 434 MB, free: 3.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2642, allocations: 105.9 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2642, allocations: 29.69 kB / 434.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.2642, allocations: 80.14 kB / 434.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2642, allocations: 7.953 kB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2643, allocations: 17.72 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2644, allocations: 322.8 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.2644, allocations: 0 / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.2645, allocations: 39.38 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.2645, allocations: 39.38 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2645, allocations: 0 / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.704e-05/0.2646, allocations: 57.62 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2646, allocations: 11.94 kB / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2646, allocations: 0 / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2646, allocations: 0 / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.2647, allocations: 11.98 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2647, allocations: 8.125 kB / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2647, allocations: 0 / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2647, allocations: 4 kB / 434.7 MB, free: 3.199 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 9.707e-05/0.2648, allocations: 113.8 kB / 434.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.2652, allocations: 89.53 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2652, allocations: 11.98 kB / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2652, allocations: 240 / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2652, allocations: 0 / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2652, allocations: 0 / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.2653, allocations: 140.7 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2653, allocations: 0 / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.2654, allocations: 15.98 kB / 435.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2654, allocations: 7.875 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2654, allocations: 0 / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2654, allocations: 0 / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2654, allocations: 3.984 kB / 435.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.2657, allocations: 117 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.2657, allocations: 8 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2657, allocations: 7.922 kB / 435.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.2658, allocations: 7.938 kB / 435.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-06/0.2658, allocations: 3.984 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.2658, allocations: 4 kB / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.2659, allocations: 83.28 kB / 435.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2659, allocations: 0 / 435.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.2661, allocations: 4 kB / 435.3 MB, free: 2.508 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.0008212/0.2669, allocations: 0.6904 MB / 436 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2671, allocations: 39.95 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2671, allocations: 0 / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.2671, allocations: 3.938 kB / 436.1 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.0003837/0.2675, allocations: 44.12 kB / 436.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2687, allocations: 1.189 MB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.269, allocations: 0.6885 MB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.2691, allocations: 0 / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.2691, allocations: 19.44 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2691, allocations: 0 / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.3032, allocations: 1.626 MB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.34, allocations: 10.34 kB / 439.6 MB, free: 14.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.74537421693094]