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.001322/0.001322, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001382/0.001382, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.494/1.494, allocations: 230.5 MB / 258.2 MB, free: 7.82 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.336, allocations: 53.4 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002902/0.3389, allocations: 1.479 MB / 433.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.3398, allocations: 423 kB / 433.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3399, allocations: 0 / 433.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.3399, allocations: 3.938 kB / 433.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.34, allocations: 7.938 kB / 433.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3402, allocations: 35.14 kB / 433.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.3403, allocations: 27.92 kB / 433.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3404, allocations: 15.97 kB / 433.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.3405, allocations: 23.86 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.3405, allocations: 15.92 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3406, allocations: 4 kB / 433.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.3406, allocations: 4 kB / 433.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.3406, allocations: 4 kB / 433.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3406, allocations: 15.88 kB / 434 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3408, allocations: 45.92 kB / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3408, allocations: 0 / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3408, allocations: 0 / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3408, allocations: 0 / 434 MB, free: 4.387 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.0005425/0.3413, allocations: 274.3 kB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3414, allocations: 15.97 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.289e-05/0.3414, allocations: 4.188 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.3414, allocations: 30.75 kB / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.3414, allocations: 8.891 kB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3417, allocations: 126.4 kB / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3418, allocations: 384 / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3418, allocations: 4.375 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.3423, allocations: 143.2 kB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3423, allocations: 0 / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.3423, allocations: 0 / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3423, allocations: 4 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.3425, allocations: 31.97 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.3427, allocations: 128.8 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.343, allocations: 90.47 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3431, allocations: 28.89 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3431, allocations: 3.938 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3431, allocations: 34.56 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3431, allocations: 0 / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003745/0.3435, allocations: 101.6 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3436, allocations: 55.41 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3437, allocations: 105.8 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3437, allocations: 29.64 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3438, allocations: 88.14 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.3438, allocations: 0 / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3438, allocations: 17.72 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.344, allocations: 314.8 kB / 435.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.344, allocations: 4 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.3441, allocations: 27.44 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.3441, allocations: 39.38 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3441, allocations: 0 / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.668e-05/0.3442, allocations: 61.52 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3442, allocations: 4 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3442, allocations: 0 / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3442, allocations: 7.938 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.3443, allocations: 7.984 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3443, allocations: 4.125 kB / 435.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.3443, allocations: 7.938 kB / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.3443, allocations: 4 kB / 435.8 MB, free: 2.395 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.0001064/0.3445, allocations: 109.8 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.3447, allocations: 81.83 kB / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.3447, allocations: 8.031 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3447, allocations: 7.938 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3447, allocations: 3.938 kB / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3447, allocations: 0 / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3448, allocations: 128.8 kB / 436.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3448, allocations: 3.938 kB / 436.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.3449, allocations: 11.98 kB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3449, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3449, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3449, allocations: 4 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3449, allocations: 0 / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3452, allocations: 101.1 kB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3452, allocations: 11.89 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3452, allocations: 4 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.3452, allocations: 7.984 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.3453, allocations: 0 / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3453, allocations: 4 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.995e-05/0.3453, allocations: 91.22 kB / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 3.938 kB / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.3455, allocations: 4 kB / 436.3 MB, free: 1.734 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.0005595/0.3461, allocations: 0.6358 MB / 437 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.3462, allocations: 39.91 kB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3462, allocations: 0 / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3462, allocations: 0 / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3465, allocations: 34.7 kB / 437.1 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3477, allocations: 1.173 MB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.3477, allocations: 75.33 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.305e-05/0.3478, allocations: 0 / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.3478, allocations: 11.44 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3478, allocations: 0 / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3699, allocations: 1.543 MB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 15.52 kB / 439.9 MB, free: 14.19 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 & /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/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.700339314993471]