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.001924/0.001924, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002302/0.002302, allocations: 211 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001546/0.001546, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2635, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002868/0.2664, allocations: 1.502 MB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.2672, allocations: 415 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.2673, allocations: 4 kB / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.2673, allocations: 3.938 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.2674, allocations: 7.922 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2676, allocations: 27.91 kB / 433 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.2677, allocations: 31.92 kB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.2677, allocations: 8 kB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.2678, allocations: 19.92 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.2678, allocations: 19.91 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2679, allocations: 4 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.2679, allocations: 0 / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.2679, allocations: 15.88 kB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2679, allocations: 11.94 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.268, allocations: 33.52 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.268, allocations: 0 / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.268, allocations: 0 / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.268, allocations: 4 kB / 433.2 MB, free: 4.527 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.0004514/0.2685, allocations: 278.3 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2685, allocations: 8.031 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2686, allocations: 30.75 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2686, allocations: 12.89 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.2688, allocations: 122.5 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2688, allocations: 384 / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2688, allocations: 12.36 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.2692, allocations: 139.3 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2693, allocations: 0 / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2693, allocations: 0 / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2693, allocations: 0 / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2694, allocations: 39.95 kB / 433.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2696, allocations: 128.8 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2698, allocations: 78.44 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.2699, allocations: 32.92 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2699, allocations: 0 / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.27, allocations: 46.38 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.27, allocations: 0 / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003412/0.2703, allocations: 97.62 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.2704, allocations: 55.41 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.2705, allocations: 109.8 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2705, allocations: 29.64 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.2705, allocations: 88.14 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-06/0.2705, allocations: 0 / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.2706, allocations: 17.72 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2707, allocations: 314.8 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.2707, allocations: 4 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.2707, allocations: 31.44 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.2708, allocations: 35.38 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2708, allocations: 0 / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.2709, allocations: 61.52 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2709, allocations: 4 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2709, allocations: 128 / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2709, allocations: 8 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.271, allocations: 7.984 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.271, allocations: 7.938 kB / 434.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.271, allocations: 3.938 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.271, allocations: 0 / 435 MB, free: 2.539 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 7.631e-05/0.2711, allocations: 113.8 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.2713, allocations: 81.55 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.2713, allocations: 8 kB / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2713, allocations: 8.328 kB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2713, allocations: 4 kB / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2713, allocations: 0 / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.2714, allocations: 124.7 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2714, allocations: 0 / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.2715, allocations: 19.92 kB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2715, allocations: 0 / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2715, allocations: 0 / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2715, allocations: 7.938 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2715, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.2717, allocations: 101.1 kB / 435.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.2717, allocations: 15.83 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2717, allocations: 0 / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.2718, allocations: 11.98 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.2718, allocations: 0 / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2718, allocations: 0 / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.2718, allocations: 83.28 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2718, allocations: 3.938 kB / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.272, allocations: 8 kB / 435.5 MB, free: 1.875 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.000494/0.2725, allocations: 0.6397 MB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2727, allocations: 35.91 kB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2727, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2727, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.273, allocations: 28.02 kB / 436.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.274, allocations: 1.174 MB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.923e-05/0.2741, allocations: 63.34 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.889e-05/0.2741, allocations: 4 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.2741, allocations: 11.44 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2741, allocations: 0 / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3014, allocations: 1.882 MB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.24, allocations: 11.69 kB / 439.4 MB, free: 14.02 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.755754397250712]