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.001591/0.001591, allocations: 103.2 kB / 17.06 MB, free: 6.145 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.001935/0.001935, allocations: 195 kB / 18 MB, free: 5.219 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.566/1.566, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 47.88 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.417, allocations: 49.44 MB / 400.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002947/0.42, allocations: 1.475 MB / 401.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.4208, allocations: 409.1 kB / 402.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.4208, allocations: 4 kB / 402.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.4209, allocations: 7.922 kB / 402.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.421, allocations: 3.938 kB / 402.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.4213, allocations: 35.91 kB / 402.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.4214, allocations: 35.86 kB / 402.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4215, allocations: 15.97 kB / 402.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.4216, allocations: 8 kB / 402.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.4216, allocations: 23.92 kB / 402.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4217, allocations: 4 kB / 402.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.4217, allocations: 4 kB / 402.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.4217, allocations: 7.922 kB / 402.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.4218, allocations: 15.94 kB / 402.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.4219, allocations: 39.75 kB / 402.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4219, allocations: 0 / 402.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4219, allocations: 0 / 402.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4219, allocations: 0 / 402.3 MB, free: 6.898 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.0005581/0.4225, allocations: 361.2 kB / 402.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4225, allocations: 8.031 kB / 402.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.4226, allocations: 34.75 kB / 402.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.4226, allocations: 8.844 kB / 402.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.4228, allocations: 172.4 kB / 402.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4229, allocations: 4.375 kB / 402.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4229, allocations: 4.375 kB / 402.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.4233, allocations: 147.2 kB / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4234, allocations: 0 / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4234, allocations: 0 / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4234, allocations: 0 / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.4235, allocations: 35.97 kB / 403.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.4237, allocations: 161.7 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.424, allocations: 82.5 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4241, allocations: 32.91 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4241, allocations: 7.875 kB / 403.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4242, allocations: 38.5 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4242, allocations: 0 / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003828/0.4246, allocations: 93.64 kB / 403.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.4247, allocations: 59.39 kB / 403.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.4248, allocations: 105.9 kB / 403.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4248, allocations: 29.7 kB / 403.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.425, allocations: 84.12 kB / 403.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.425, allocations: 0 / 403.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.425, allocations: 17.72 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4251, allocations: 314.8 kB / 404.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.4252, allocations: 11.92 kB / 404.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.4252, allocations: 23.44 kB / 404.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.973e-05/0.4252, allocations: 39.38 kB / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4253, allocations: 0 / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.542e-05/0.4254, allocations: 65.41 kB / 404.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4254, allocations: 4.125 kB / 404.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4254, allocations: 4 kB / 404.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4254, allocations: 4 kB / 404.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.4255, allocations: 4 kB / 404.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4255, allocations: 4 kB / 404.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.4255, allocations: 4 kB / 404.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.4255, allocations: 0 / 404.2 MB, free: 4.715 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 7.923e-05/0.4256, allocations: 121.7 kB / 404.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4258, allocations: 81.59 kB / 404.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.4259, allocations: 7.906 kB / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4259, allocations: 0 / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4259, allocations: 0 / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4259, allocations: 4 kB / 404.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.426, allocations: 157.7 kB / 404.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.426, allocations: 0 / 404.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.4261, allocations: 19.92 kB / 404.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4261, allocations: 0 / 404.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4261, allocations: 0 / 404.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4261, allocations: 4 kB / 404.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4261, allocations: 0 / 404.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4264, allocations: 108.9 kB / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4265, allocations: 81.05 kB / 404.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4265, allocations: 3.984 kB / 404.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.4266, allocations: 4 kB / 404.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-06/0.4266, allocations: 4.375 kB / 404.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4266, allocations: 4 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.704e-05/0.4266, allocations: 91.52 kB / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4267, allocations: 0 / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.4268, allocations: 4 kB / 404.9 MB, free: 3.922 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.0005474/0.4274, allocations: 0.6551 MB / 405.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.4276, allocations: 27.98 kB / 405.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4276, allocations: 0 / 405.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.4276, allocations: 0 / 405.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4279, allocations: 39.91 kB / 405.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4291, allocations: 1.174 MB / 406.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4293, allocations: 0.6844 MB / 407.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.4294, allocations: 0 / 407.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.4294, allocations: 19.42 kB / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4294, allocations: 0 / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.4495, allocations: 1.375 MB / 408.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.4, allocations: 8.109 kB / 408.9 MB, free: 15.91 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