Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001964/0.001964, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002207/0.002207, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00325/0.00325, allocations: 63.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3176, allocations: 53.42 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003203/0.3208, allocations: 1.495 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.3217, allocations: 454.8 kB / 433.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.3217, allocations: 0 / 433.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3218, allocations: 7.922 kB / 433.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.3218, allocations: 15.88 kB / 433.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.322, allocations: 27.91 kB / 433.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3222, allocations: 35.86 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3223, allocations: 8 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.3223, allocations: 15.92 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.3224, allocations: 19.92 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3224, allocations: 0 / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.3224, allocations: 4 kB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3224, allocations: 7.984 kB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3225, allocations: 19.86 kB / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3226, allocations: 32.89 kB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3226, allocations: 0 / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3226, allocations: 7.938 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3226, allocations: 0 / 433.3 MB, free: 4.516 MB / 334.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.000524/0.3231, allocations: 277.6 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3232, allocations: 12.03 kB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3232, allocations: 30.75 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.3232, allocations: 4.891 kB / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3235, allocations: 130.5 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3235, allocations: 384 / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3235, allocations: 4.375 kB / 433.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.324, allocations: 143.3 kB / 433.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.324, allocations: 4 kB / 433.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.324, allocations: 4 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.324, allocations: 0 / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3242, allocations: 39.95 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.3243, allocations: 124.8 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3246, allocations: 86.58 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.3247, allocations: 28.84 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/0.3248, allocations: 0 / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3248, allocations: 42.44 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3248, allocations: 0 / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003368/0.3251, allocations: 101.6 kB / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3252, allocations: 55.41 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.3253, allocations: 109.8 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3253, allocations: 25.7 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3253, allocations: 84.14 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.3253, allocations: 4 kB / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.3254, allocations: 9.719 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3255, allocations: 326.8 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.3255, allocations: 0 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.3256, allocations: 31.38 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.3256, allocations: 43.31 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3256, allocations: 0 / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.137e-05/0.3257, allocations: 61.52 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3257, allocations: 4 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3257, allocations: 4 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3257, allocations: 0 / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.3258, allocations: 11.98 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3258, allocations: 0 / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.3258, allocations: 3.938 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3258, allocations: 8.125 kB / 435.1 MB, free: 2.52 MB / 334.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 8.141e-05/0.3259, allocations: 113.8 kB / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.3261, allocations: 77.59 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.3261, allocations: 4 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3261, allocations: 4 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3261, allocations: 0 / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3261, allocations: 0 / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3262, allocations: 136.7 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.3262, allocations: 0 / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.3263, allocations: 19.92 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3263, allocations: 0 / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3263, allocations: 4 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3263, allocations: 0 / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3263, allocations: 0 / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3266, allocations: 105 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3266, allocations: 11.89 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3266, allocations: 0 / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.3266, allocations: 8 kB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.3266, allocations: 0 / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3266, allocations: 11.92 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.3267, allocations: 83.28 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.3269, allocations: 8 kB / 435.7 MB, free: 1.859 MB / 334.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.0005368/0.3274, allocations: 0.6397 MB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.3275, allocations: 27.97 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3275, allocations: 4.25 kB / 436.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3275, allocations: 4 kB / 436.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3278, allocations: 31.03 kB / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.329, allocations: 1.181 MB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3293, allocations: 0.6807 MB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.3293, allocations: 3.984 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.3293, allocations: 15.44 kB / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3293, allocations: 0 / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3576, allocations: 1.473 MB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 7.859 kB / 439.8 MB, free: 13.76 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 14.05414558999837]