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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 173.3 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 318.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.258e-05, allocations: 2.281 kB / 318.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001979/0.002002, allocations: 1.461 MB / 319.9 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.002539, allocations: 395.1 kB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.002598, allocations: 0 / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.002628, allocations: 3.938 kB / 320.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.002694, allocations: 3.938 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.002939, allocations: 31.84 kB / 320.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.003039, allocations: 43.86 kB / 320.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003146, allocations: 7.984 kB / 320.4 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.003218, allocations: 19.92 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.003257, allocations: 15.98 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.003282, allocations: 4 kB / 320.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.003291, allocations: 4 kB / 320.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.003312, allocations: 7.922 kB / 320.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.003342, allocations: 11.98 kB / 320.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.75e-05/0.003439, allocations: 35.83 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.003443, allocations: 8 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003444, allocations: 0 / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.003448, allocations: 0 / 320.5 MB, free: 4.258 MB / 282.7 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.0003871/0.003835, allocations: 269.5 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.00388, allocations: 16.92 kB / 320.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.003913, allocations: 38.75 kB / 320.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.003939, allocations: 8.891 kB / 320.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.004134, allocations: 125.6 kB / 320.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.004145, allocations: 8.375 kB / 320.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.004154, allocations: 384 / 320.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.004466, allocations: 139.8 kB / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.004474, allocations: 192 / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004484, allocations: 4.125 kB / 321.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004489, allocations: 0 / 321.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.004579, allocations: 39.95 kB / 321.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.758e-05/0.004676, allocations: 124.8 kB / 321.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.004819, allocations: 82.45 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.004876, allocations: 36.91 kB / 321.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.004893, allocations: 0 / 321.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.00491, allocations: 30.56 kB / 321.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.004911, allocations: 0 / 321.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002234/0.005134, allocations: 101.5 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.005171, allocations: 55.41 kB / 321.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.005227, allocations: 113.8 kB / 321.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.005236, allocations: 25.7 kB / 321.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.005262, allocations: 84.14 kB / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.005265, allocations: 0 / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.005281, allocations: 17.7 kB / 321.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.005349, allocations: 310.8 kB / 322.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.005354, allocations: 3.938 kB / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.005357, allocations: 0 / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.005377, allocations: 79.28 kB / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.005393, allocations: 79.22 kB / 322.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.582e-05/0.005428, allocations: 41.64 kB / 322.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.00546, allocations: 83.28 kB / 322.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.005479, allocations: 75.28 kB / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/0.005525, allocations: 158.5 kB / 322.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.005544, allocations: 79.22 kB / 322.7 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/0.005578, allocations: 154.7 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.005623, allocations: 83.23 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.00564, allocations: 75.28 kB / 323 MB, free: 1.566 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.715e-05/0.005717, allocations: 189.1 kB / 323.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.005836, allocations: 81.61 kB / 323.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.005863, allocations: 8 kB / 323.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.005867, allocations: 4.172 kB / 323.3 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.005875, allocations: 3.984 kB / 323.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005879, allocations: 4 kB / 323.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.294e-05/0.005942, allocations: 124.7 kB / 323.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.005946, allocations: 3.938 kB / 323.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.006023, allocations: 12 kB / 323.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.006027, allocations: 0 / 323.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006034, allocations: 3.984 kB / 323.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.006038, allocations: 11.94 kB / 323.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006039, allocations: 0 / 323.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.006158, allocations: 101 kB / 323.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.006166, allocations: 4 kB / 323.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.006176, allocations: 0 / 323.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.006196, allocations: 11.92 kB / 323.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.006199, allocations: 0 / 323.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.006205, allocations: 4 kB / 323.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.006236, allocations: 87.28 kB / 323.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006236, allocations: 0 / 323.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.006375, allocations: 0 / 323.6 MB, free: 0.8398 MB / 282.7 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.0003012/0.006677, allocations: 0.6397 MB / 324.3 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.323e-05/0.00676, allocations: 23.97 kB / 324.3 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006762, allocations: 3.938 kB / 324.3 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.006762, allocations: 0 / 324.3 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.006997, allocations: 39.89 kB / 324.3 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.007694, allocations: 1.379 MB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.007733, allocations: 63.34 kB / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.007746, allocations: 0 / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.007788, allocations: 16.5 kB / 325.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.007788, allocations: 3.938 kB / 325.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.02396, allocations: 1.967 MB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.827, allocations: 6.688 kB / 327.8 MB, free: 12.7 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.50462113879621]