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.0008527/0.0008527, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008599/0.0008599, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8927/0.8927, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.731e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001746/0.001763, allocations: 1.494 MB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.002288, allocations: 414.9 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.002343, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.002371, allocations: 3.938 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.002426, allocations: 3.938 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.002662, allocations: 35.78 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.002743, allocations: 43.92 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.002839, allocations: 11.98 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.002899, allocations: 19.91 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.002933, allocations: 15.98 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.002953, allocations: 0 / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.002961, allocations: 4 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.00298, allocations: 7.938 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.003013, allocations: 7.984 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003123, allocations: 43.88 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003125, allocations: 0 / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003126, allocations: 0 / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003131, allocations: 4 kB / 326.6 MB, free: 13.77 MB / 298.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.0003979/0.003529, allocations: 270.2 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.003569, allocations: 15.98 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.0036, allocations: 34.75 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.003622, allocations: 8.891 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.003777, allocations: 121.7 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.003787, allocations: 4.375 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.003797, allocations: 4.359 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.004108, allocations: 139.8 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004115, allocations: 192 / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.004126, allocations: 8.125 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.00413, allocations: 3.938 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.004219, allocations: 35.95 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.004326, allocations: 128.8 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.004473, allocations: 78.52 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.00453, allocations: 32.91 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.004548, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.004567, allocations: 30.56 kB / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.004567, allocations: 0 / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.004785, allocations: 105.5 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.004823, allocations: 55.41 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.004882, allocations: 105.8 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.004892, allocations: 29.7 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.00492, allocations: 80.14 kB / 327.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.004924, allocations: 3.984 kB / 327.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.004941, allocations: 21.66 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.005011, allocations: 314.8 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-06/0.005015, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-06/0.005016, allocations: 4 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.764e-05/0.005034, allocations: 75.28 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.005053, allocations: 91.16 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.127e-05/0.005084, allocations: 29.66 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.005354, allocations: 83.28 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.005376, allocations: 75.28 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-05/0.005425, allocations: 162.4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.005443, allocations: 79.38 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.005484, allocations: 158.5 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.005523, allocations: 79.28 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.00554, allocations: 79.28 kB / 329.1 MB, free: 11.07 MB / 298.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 6.385e-05/0.005604, allocations: 185.1 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.005701, allocations: 77.59 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.005722, allocations: 11.98 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005725, allocations: 3.938 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.005728, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005731, allocations: 4 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.064e-05/0.005781, allocations: 124.8 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.005784, allocations: 240 / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.005852, allocations: 12 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.005856, allocations: 3.984 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005862, allocations: 0 / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.005864, allocations: 3.938 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.005867, allocations: 7.984 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.005975, allocations: 101 kB / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.005982, allocations: 4 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.005991, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.006013, allocations: 19.92 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.006015, allocations: 0 / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006019, allocations: 0 / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.006044, allocations: 91.25 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006044, allocations: 0 / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.006176, allocations: 4 kB / 329.8 MB, free: 10.35 MB / 298.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.0002545/0.00643, allocations: 0.6319 MB / 330.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.006501, allocations: 31.91 kB / 330.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006502, allocations: 0 / 330.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.006503, allocations: 0 / 330.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.006719, allocations: 36.52 kB / 330.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.007377, allocations: 1.375 MB / 331.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.007414, allocations: 63.34 kB / 331.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.308e-05/0.007427, allocations: 0 / 331.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.00746, allocations: 12.5 kB / 331.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.00746, allocations: 7.938 kB / 331.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.02402, allocations: 1.971 MB / 333.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.486/6.51, allocations: 14.75 kB / 333.9 MB, free: 6.184 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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: 8.155880438163877]