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.001165/0.001165, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 63.47 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1061, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002238/0.1084, allocations: 1.472 MB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.1086, allocations: 35.91 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1086, allocations: 0 / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.1087, allocations: 7.922 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.1087, allocations: 3.938 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1089, allocations: 27.97 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.109, allocations: 39.86 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.1091, allocations: 11.98 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.1091, allocations: 8 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.1092, allocations: 23.91 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1092, allocations: 4 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.1092, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1092, allocations: 15.92 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.1093, allocations: 15.92 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.1093, allocations: 47.77 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1093, allocations: 4 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1094, allocations: 0 / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1094, allocations: 0 / 359.3 MB, free: 12.29 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.0004261/0.1098, allocations: 355.6 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1098, allocations: 8.031 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.1099, allocations: 34.75 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.1099, allocations: 4.938 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.11, allocations: 180.2 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1101, allocations: 12.38 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1101, allocations: 384 / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.1106, allocations: 155.7 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1106, allocations: 3.938 kB / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1106, allocations: 0 / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1106, allocations: 0 / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.1109, allocations: 51.94 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.111, allocations: 161.7 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1113, allocations: 90.42 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1114, allocations: 40.86 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.1114, allocations: 0 / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1115, allocations: 30.56 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1115, allocations: 0 / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004461/0.1119, allocations: 117.5 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.112, allocations: 67.25 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.1121, allocations: 109.8 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1121, allocations: 29.7 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.1121, allocations: 84.12 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.1121, allocations: 4 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1122, allocations: 17.72 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.1123, allocations: 314.8 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.1123, allocations: 11.98 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.1123, allocations: 29.12 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.1123, allocations: 35.38 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1123, allocations: 4 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.1e-05/0.1124, allocations: 57.62 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1124, allocations: 7.938 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1124, allocations: 0 / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1125, allocations: 4 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.1125, allocations: 16.06 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1125, allocations: 3.984 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1126, allocations: 4 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1126, allocations: 4 kB / 361.3 MB, free: 10.02 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 6.18e-05/0.1126, allocations: 117.9 kB / 361.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.1129, allocations: 93.48 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.1129, allocations: 7.891 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.113, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.113, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.113, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.1131, allocations: 165.7 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1131, allocations: 0 / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.1132, allocations: 15.92 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1132, allocations: 7.938 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1132, allocations: 0 / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1132, allocations: 7.938 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1132, allocations: 0 / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1135, allocations: 113 kB / 361.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1135, allocations: 85.05 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1135, allocations: 3.938 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1136, allocations: 7.984 kB / 361.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.1136, allocations: 7.938 kB / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1136, allocations: 7.984 kB / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.1137, allocations: 83.28 kB / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1137, allocations: 0 / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001737/0.1139, allocations: 4 kB / 362 MB, free: 9.195 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.0006544/0.1145, allocations: 0.6904 MB / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1147, allocations: 47.89 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1147, allocations: 0 / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1147, allocations: 0 / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1151, allocations: 36.94 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008702/0.116, allocations: 1.197 MB / 364 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.1162, allocations: 0.6807 MB / 364.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.775e-05/0.1162, allocations: 8.031 kB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1162, allocations: 15.42 kB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1162, allocations: 0 / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.2387, allocations: 1.458 MB / 366.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.884, allocations: 14.42 kB / 366.2 MB, free: 5 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