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.0008233/0.0008233, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009466/0.0009466, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8695/0.8695, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733e-06/1.733e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.032e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001954/0.001974, allocations: 1.482 MB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.002166, allocations: 43.84 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.002223, allocations: 0 / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.002251, allocations: 3.938 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.002291, allocations: 4 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.00254, allocations: 27.95 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.002631, allocations: 35.92 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002733, allocations: 15.86 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.002795, allocations: 23.97 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.002829, allocations: 11.98 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.002854, allocations: 4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002863, allocations: 8 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.002883, allocations: 7.938 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.002914, allocations: 11.98 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.003023, allocations: 43.81 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.003027, allocations: 0 / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.003029, allocations: 0 / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.003037, allocations: 4 kB / 326.3 MB, free: 14.13 MB / 298.7 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.0004182/0.003455, allocations: 274.3 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.003499, allocations: 15.97 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.003529, allocations: 34.75 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.003552, allocations: 8.891 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.003735, allocations: 125.7 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.003754, allocations: 384 / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003763, allocations: 4.375 kB / 326.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.004115, allocations: 163.6 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004122, allocations: 4.188 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004131, allocations: 384 / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.004136, allocations: 4.125 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.004257, allocations: 51.94 kB / 326.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.004364, allocations: 132.7 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.004534, allocations: 86.44 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.004606, allocations: 32.91 kB / 327.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.004616, allocations: 0 / 327.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.004635, allocations: 34.56 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.004636, allocations: 0 / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.004907, allocations: 121.5 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.004962, allocations: 59.34 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.005024, allocations: 105.8 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.005034, allocations: 25.7 kB / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.005062, allocations: 92.14 kB / 327.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.005075, allocations: 3.953 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.005099, allocations: 13.72 kB / 327.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.005173, allocations: 314.8 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.005183, allocations: 0 / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.00519, allocations: 7.984 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.005214, allocations: 12.86 kB / 327.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005216, allocations: 0 / 327.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.816e-05/0.005265, allocations: 41.64 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005278, allocations: 8.094 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.005284, allocations: 0 / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.005297, allocations: 4 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.005349, allocations: 3.938 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.005354, allocations: 0 / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-06/0.005363, allocations: 0 / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005368, allocations: 7.984 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.102e-05/0.005429, allocations: 113.8 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.00557, allocations: 89.59 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.005594, allocations: 8 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.005597, allocations: 4 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.005602, allocations: 3.938 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005606, allocations: 7.922 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.125e-05/0.005667, allocations: 128.7 kB / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005669, allocations: 4 kB / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.005715, allocations: 11.98 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005717, allocations: 0 / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005723, allocations: 0 / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.005726, allocations: 7.938 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.005727, allocations: 3.938 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.005887, allocations: 113.1 kB / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.005897, allocations: 11.89 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.005908, allocations: 0 / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.664e-05/0.005935, allocations: 11.98 kB / 328.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.005939, allocations: 3.938 kB / 328.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005942, allocations: 0 / 328.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.005974, allocations: 87.27 kB / 328.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005974, allocations: 4 kB / 328.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001176/0.006092, allocations: 4 kB / 328.6 MB, free: 11.48 MB / 298.7 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.0004197/0.006511, allocations: 0.6749 MB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.00662, allocations: 32.03 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.006622, allocations: 4 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.006622, allocations: 0 / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.006887, allocations: 52.12 kB / 329.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.007547, allocations: 1.126 MB / 330.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.007584, allocations: 67.33 kB / 330.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.007606, allocations: 0 / 330.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.007648, allocations: 20.58 kB / 330.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007649, allocations: 4 kB / 330.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02252, allocations: 2.145 MB / 332.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/6.574, allocations: 2.812 kB / 332.7 MB, free: 7.336 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.189933439716697]