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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.663/1.663, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001254, allocations: 63.95 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.117, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003817/0.1208, allocations: 1.531 MB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.1211, allocations: 39.84 kB / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.1212, allocations: 0 / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.1213, allocations: 0 / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.1214, allocations: 7.922 kB / 358.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1217, allocations: 19.98 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.1218, allocations: 39.91 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1219, allocations: 15.92 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.1219, allocations: 11.98 kB / 358.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.122, allocations: 15.92 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.122, allocations: 8 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.122, allocations: 4 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.1221, allocations: 15.92 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.1221, allocations: 19.92 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1222, allocations: 31.89 kB / 358.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1223, allocations: 3.938 kB / 358.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1223, allocations: 4 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1223, allocations: 0 / 358.9 MB, free: 12.53 MB / 302.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.000547/0.1228, allocations: 362.2 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1229, allocations: 12.03 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1229, allocations: 34.73 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.123, allocations: 4.938 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1232, allocations: 184.2 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.1232, allocations: 4.375 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1233, allocations: 384 / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.1239, allocations: 159.8 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1239, allocations: 7.938 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1239, allocations: 0 / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1239, allocations: 0 / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.1242, allocations: 51.88 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1244, allocations: 161.7 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1247, allocations: 82.5 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1249, allocations: 36.91 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1249, allocations: 0 / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1249, allocations: 34.56 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1249, allocations: 0 / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000517/0.1255, allocations: 125.5 kB / 360.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1255, allocations: 59.31 kB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.1256, allocations: 109.8 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1257, allocations: 25.7 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.1257, allocations: 88.08 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1257, allocations: 4 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1258, allocations: 17.72 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1259, allocations: 318.8 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1259, allocations: 4 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.1259, allocations: 27.44 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.126, allocations: 43.36 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.126, allocations: 128 / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.719e-05/0.1261, allocations: 65.58 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1261, allocations: 7.938 kB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1261, allocations: 3.984 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1262, allocations: 4 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.1262, allocations: 8.125 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1263, allocations: 4 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.1263, allocations: 0 / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1263, allocations: 4 kB / 360.9 MB, free: 10.26 MB / 302.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 0.0001003/0.1264, allocations: 113.8 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.1267, allocations: 101.6 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.1267, allocations: 11.94 kB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1267, allocations: 0 / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1267, allocations: 0 / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1268, allocations: 4 kB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1269, allocations: 157.7 kB / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1269, allocations: 0 / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.127, allocations: 15.98 kB / 361.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.127, allocations: 3.938 kB / 361.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.127, allocations: 3.984 kB / 361.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.127, allocations: 0 / 361.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.127, allocations: 4 kB / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1274, allocations: 124.8 kB / 361.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1274, allocations: 85.05 kB / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1275, allocations: 3.938 kB / 361.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.1276, allocations: 11.98 kB / 361.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-06/0.1276, allocations: 0 / 361.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1276, allocations: 4 kB / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.1276, allocations: 79.28 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1276, allocations: 0 / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.1279, allocations: 8 kB / 361.6 MB, free: 9.43 MB / 302.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.0009019/0.1288, allocations: 0.6865 MB / 362.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.129, allocations: 43.91 kB / 362.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.129, allocations: 3.938 kB / 362.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.129, allocations: 0 / 362.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1295, allocations: 44.23 kB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1308, allocations: 1.197 MB / 363.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1312, allocations: 0.6885 MB / 364.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.1312, allocations: 0 / 364.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.1313, allocations: 15.44 kB / 364.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1313, allocations: 0 / 364.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1439, allocations: 1.387 MB / 365.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.1442, allocations: 211 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.234, allocations: 4.062 kB / 365.9 MB, free: 5.098 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches