Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001732, allocations: 110.2 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3618, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003587/0.3654, allocations: 1.479 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.3662, allocations: 413.8 kB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.3663, allocations: 4 kB / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.3664, allocations: 3.938 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.3665, allocations: 3.938 kB / 402.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.3667, allocations: 27.97 kB / 402.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.3668, allocations: 39.8 kB / 402.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3669, allocations: 11.98 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.367, allocations: 12 kB / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.367, allocations: 15.92 kB / 402.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.367, allocations: 4 kB / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.3671, allocations: 0 / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3671, allocations: 15.92 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.3671, allocations: 11.94 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.3672, allocations: 39.81 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3672, allocations: 0 / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3673, allocations: 0 / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3673, allocations: 0 / 402.3 MB, free: 6.715 MB / 318.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.0004957/0.3678, allocations: 358.3 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3678, allocations: 12.03 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.3679, allocations: 38.67 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.3679, allocations: 4.938 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3681, allocations: 176.3 kB / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3681, allocations: 384 / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3682, allocations: 4.375 kB / 402.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.3686, allocations: 143.4 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3687, allocations: 0 / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3687, allocations: 4 kB / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3687, allocations: 0 / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3689, allocations: 43.89 kB / 403.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3691, allocations: 161.6 kB / 403.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3694, allocations: 78.5 kB / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3695, allocations: 36.91 kB / 403.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3695, allocations: 4 kB / 403.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3696, allocations: 34.5 kB / 403.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3696, allocations: 3.938 kB / 403.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004105/0.37, allocations: 101.6 kB / 403.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3701, allocations: 51.41 kB / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3702, allocations: 113.8 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3702, allocations: 33.7 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3703, allocations: 80.14 kB / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.3703, allocations: 0 / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3704, allocations: 17.72 kB / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3706, allocations: 314.8 kB / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.3706, allocations: 8 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.3706, allocations: 27.44 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.3707, allocations: 31.38 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3707, allocations: 7.938 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.284e-05/0.3708, allocations: 65.56 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3708, allocations: 4 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3708, allocations: 0 / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3709, allocations: 4 kB / 404.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.3709, allocations: 4 kB / 404.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3709, allocations: 3.984 kB / 404.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.371, allocations: 15.89 kB / 404.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.371, allocations: 0 / 404.3 MB, free: 4.512 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.073e-05/0.3711, allocations: 113.8 kB / 404.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.3713, allocations: 85.59 kB / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3713, allocations: 7.906 kB / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3714, allocations: 0 / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3714, allocations: 0 / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3714, allocations: 0 / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3715, allocations: 157.7 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3715, allocations: 4 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.3716, allocations: 15.92 kB / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3716, allocations: 0 / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3716, allocations: 4 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3716, allocations: 0 / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3716, allocations: 0 / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3719, allocations: 109 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.3719, allocations: 85.41 kB / 404.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.372, allocations: 0 / 404.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.372, allocations: 8 kB / 404.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.372, allocations: 0 / 404.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.372, allocations: 3.984 kB / 404.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.763e-05/0.3721, allocations: 91.27 kB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3721, allocations: 0 / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.3723, allocations: 7.938 kB / 404.9 MB, free: 3.723 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0005789/0.3729, allocations: 0.6474 MB / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3731, allocations: 27.92 kB / 405.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3731, allocations: 4 kB / 405.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3731, allocations: 0 / 405.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3734, allocations: 40.14 kB / 405.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3746, allocations: 1.166 MB / 406.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3749, allocations: 0.6844 MB / 407.5 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.3749, allocations: 7.984 kB / 407.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.375, allocations: 15.44 kB / 407.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.375, allocations: 0 / 407.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3965, allocations: 1.365 MB / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.307, allocations: 7.719 kB / 408.9 MB, free: 15.73 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches