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.001343/0.001343, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001427/0.001427, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.399/1.399, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.002124/0.002124, allocations: 67.88 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2785, allocations: 53.4 MB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003474/0.282, allocations: 1.491 MB / 432.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.283, allocations: 426.8 kB / 433.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.2831, allocations: 0 / 433.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2831, allocations: 7.938 kB / 433.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.2832, allocations: 3.938 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.2835, allocations: 27.91 kB / 433.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2837, allocations: 27.92 kB / 433.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2838, allocations: 15.98 kB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.2839, allocations: 19.92 kB / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.2839, allocations: 15.92 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.284, allocations: 0 / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.284, allocations: 4 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.284, allocations: 7.984 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.284, allocations: 15.88 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2842, allocations: 36.81 kB / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2842, allocations: 0 / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2842, allocations: 0 / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2842, allocations: 0 / 433.2 MB, free: 4.32 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.000685/0.2849, allocations: 281.6 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.285, allocations: 15.98 kB / 433.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.285, allocations: 34.75 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.2851, allocations: 8.891 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.2855, allocations: 118.5 kB / 433.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2855, allocations: 4.375 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2855, allocations: 4.375 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.2861, allocations: 143.3 kB / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2861, allocations: 0 / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2861, allocations: 0 / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2861, allocations: 0 / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2863, allocations: 43.95 kB / 433.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.2865, allocations: 124.8 kB / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2868, allocations: 82.5 kB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2869, allocations: 36.91 kB / 434.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.287, allocations: 3.938 kB / 434.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.287, allocations: 34.5 kB / 434.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.287, allocations: 4 kB / 434.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003889/0.2874, allocations: 93.64 kB / 434.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.2875, allocations: 55.41 kB / 434.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2876, allocations: 105.8 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2876, allocations: 25.7 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.2877, allocations: 92.06 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.2877, allocations: 4 kB / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.2877, allocations: 17.66 kB / 434.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2879, allocations: 314.8 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.2879, allocations: 3.938 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.288, allocations: 35.42 kB / 434.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.288, allocations: 35.38 kB / 434.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.288, allocations: 0 / 434.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.747e-05/0.2881, allocations: 65.52 kB / 435 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2881, allocations: 4 kB / 435 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2881, allocations: 0 / 435 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2882, allocations: 8.125 kB / 435 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.2882, allocations: 4 kB / 435 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2882, allocations: 0 / 435 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.2882, allocations: 7.938 kB / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.2882, allocations: 0 / 435 MB, free: 2.328 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 0.0001025/0.2883, allocations: 121.8 kB / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.2886, allocations: 77.59 kB / 435.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.2886, allocations: 8 kB / 435.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2886, allocations: 0 / 435.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2886, allocations: 4 kB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2886, allocations: 0 / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2887, allocations: 128.7 kB / 435.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2887, allocations: 0 / 435.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.2888, allocations: 19.92 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2888, allocations: 0 / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2888, allocations: 0 / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2888, allocations: 0 / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2888, allocations: 0 / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2891, allocations: 105 kB / 435.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.2891, allocations: 7.891 kB / 435.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2891, allocations: 7.984 kB / 435.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.2891, allocations: 8.375 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.2892, allocations: 0 / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2892, allocations: 4 kB / 435.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.2892, allocations: 83.27 kB / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2892, allocations: 3.938 kB / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.2894, allocations: 12 kB / 435.6 MB, free: 1.664 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.0005868/0.29, allocations: 0.6436 MB / 436.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.2902, allocations: 27.98 kB / 436.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2902, allocations: 0 / 436.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.2902, allocations: 0 / 436.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.2905, allocations: 35.84 kB / 436.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2918, allocations: 1.178 MB / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.39e-05/0.2919, allocations: 63.34 kB / 437.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.2919, allocations: 0 / 437.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.292, allocations: 19.42 kB / 437.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.292, allocations: 0 / 437.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.3228, allocations: 1.88 MB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.32, allocations: 8 kB / 439.4 MB, free: 13.78 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.7676443150267]