Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8869/0.8869, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.651e-05, allocations: 8.75 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002452/0.002478, allocations: 1.493 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.003363, allocations: 418.9 kB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.003454, allocations: 4 kB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.003499, allocations: 3.938 kB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.046e-05/0.003589, allocations: 7.922 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.003918, allocations: 31.91 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004047, allocations: 35.86 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.004195, allocations: 8 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.004292, allocations: 31.84 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.004344, allocations: 11.98 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.004381, allocations: 4 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.004392, allocations: 4 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.00442, allocations: 11.92 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.004462, allocations: 8 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.004594, allocations: 35.88 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004597, allocations: 0 / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.004599, allocations: 0 / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.004606, allocations: 0 / 326.7 MB, free: 13.8 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.0005695/0.005176, allocations: 277.2 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.005237, allocations: 12.03 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.005285, allocations: 38.73 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.005315, allocations: 4.891 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.005576, allocations: 129.7 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.005589, allocations: 384 / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.005601, allocations: 4.375 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.006034, allocations: 139.8 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006043, allocations: 192 / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.006055, allocations: 4.125 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006061, allocations: 7.984 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.00619, allocations: 31.97 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.006333, allocations: 124.8 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.006547, allocations: 86.45 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.006625, allocations: 28.91 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.006649, allocations: 8 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.006671, allocations: 30.56 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.006673, allocations: 0 / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003211/0.006994, allocations: 101.6 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.007049, allocations: 59.34 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.007136, allocations: 109.8 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007151, allocations: 25.7 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.007195, allocations: 92.12 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.007198, allocations: 0 / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.007225, allocations: 13.72 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.00734, allocations: 314.8 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.007348, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.007352, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.007382, allocations: 75.28 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.007408, allocations: 75.28 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.725e-05/0.007475, allocations: 41.64 kB / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.00752, allocations: 83.22 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.007556, allocations: 87.22 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/0.007621, allocations: 154.5 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.549e-05/0.007647, allocations: 79.31 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.869e-05/0.007705, allocations: 158.6 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.007781, allocations: 75.28 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.007817, allocations: 79.22 kB / 329.2 MB, free: 11.1 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 0.0001393/0.007956, allocations: 193.1 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.008147, allocations: 73.66 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.00819, allocations: 8 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.008195, allocations: 3.938 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.008203, allocations: 0 / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.008209, allocations: 0 / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.008318, allocations: 124.8 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.008321, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.00845, allocations: 15.98 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.008455, allocations: 0 / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.008468, allocations: 7.938 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.008474, allocations: 7.938 kB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008475, allocations: 0 / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.008679, allocations: 105.3 kB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.00869, allocations: 4.031 kB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.008707, allocations: 3.984 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.008747, allocations: 7.938 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-06/0.008753, allocations: 0 / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.008761, allocations: 4 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.008818, allocations: 87.27 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008818, allocations: 4 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.009095, allocations: 4 kB / 329.8 MB, free: 10.38 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.0005356/0.009631, allocations: 0.6397 MB / 330.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.009756, allocations: 19.98 kB / 330.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009759, allocations: 3.938 kB / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.00976, allocations: 0 / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.01011, allocations: 39.94 kB / 330.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01114, allocations: 1.38 MB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.0112, allocations: 71.33 kB / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.798e-05/0.01122, allocations: 0 / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.01126, allocations: 8.5 kB / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01126, allocations: 0 / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02772, allocations: 1.961 MB / 333.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.884, allocations: 18.58 kB / 334 MB, free: 6.23 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv","/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_4.1.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.713801858015358]