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.001265/0.001265, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001307/0.001307, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 47.94 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 53.35 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003739/0.2367, allocations: 1.508 MB / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2379, allocations: 450.9 kB / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.2379, allocations: 7.938 kB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.238, allocations: 7.922 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.2381, allocations: 11.92 kB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.2384, allocations: 23.92 kB / 433.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2385, allocations: 31.86 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2386, allocations: 19.95 kB / 434 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.2387, allocations: 15.94 kB / 434 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.2387, allocations: 15.92 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2388, allocations: 0 / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.2388, allocations: 7.938 kB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.2388, allocations: 8 kB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.2389, allocations: 19.86 kB / 434 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.239, allocations: 37.94 kB / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.239, allocations: 4 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.239, allocations: 0 / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.239, allocations: 0 / 434.1 MB, free: 4.719 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.0005817/0.2396, allocations: 274.3 kB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2396, allocations: 12.03 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.2397, allocations: 192 / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.2397, allocations: 34.75 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.2397, allocations: 12.89 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.24, allocations: 114.5 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2401, allocations: 8.375 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2401, allocations: 384 / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.2407, allocations: 143.1 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2407, allocations: 0 / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2407, allocations: 0 / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2407, allocations: 0 / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.241, allocations: 39.95 kB / 434.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.2412, allocations: 128.7 kB / 434.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2416, allocations: 86.45 kB / 434.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2417, allocations: 28.92 kB / 434.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2418, allocations: 3.938 kB / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.2418, allocations: 30.56 kB / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.2418, allocations: 3.938 kB / 435 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004752/0.2423, allocations: 101.6 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.2423, allocations: 55.41 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2425, allocations: 109.8 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2425, allocations: 29.7 kB / 435.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.2425, allocations: 84.12 kB / 435.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.2425, allocations: 4 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.2426, allocations: 17.72 kB / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2427, allocations: 322.8 kB / 435.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.2428, allocations: 4 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.2428, allocations: 23.44 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.2429, allocations: 39.36 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2429, allocations: 4 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.243, allocations: 57.53 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.243, allocations: 8 kB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.243, allocations: 0 / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.243, allocations: 0 / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.2431, allocations: 11.98 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2431, allocations: 8.375 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.2431, allocations: 11.94 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2431, allocations: 0 / 435.8 MB, free: 2.723 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.000105/0.2432, allocations: 109.8 kB / 436 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2435, allocations: 77.88 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.2436, allocations: 12.03 kB / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2436, allocations: 0 / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2436, allocations: 4 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2436, allocations: 0 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2437, allocations: 132.7 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2437, allocations: 7.938 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2438, allocations: 15.92 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2438, allocations: 0 / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2438, allocations: 0 / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2438, allocations: 0 / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2438, allocations: 0 / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.2442, allocations: 109.1 kB / 436.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.2442, allocations: 7.891 kB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2442, allocations: 3.938 kB / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.2443, allocations: 7.984 kB / 436.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-06/0.2443, allocations: 0 / 436.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.2443, allocations: 4 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.2443, allocations: 87.27 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2443, allocations: 4 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.2447, allocations: 4 kB / 436.4 MB, free: 2.062 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.0007102/0.2454, allocations: 0.6358 MB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.2456, allocations: 43.91 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2456, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.2456, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2461, allocations: 31.95 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2476, allocations: 1.17 MB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.2481, allocations: 0.6846 MB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2481, allocations: 0 / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.2482, allocations: 15.44 kB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2482, allocations: 3.938 kB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.2733, allocations: 1.515 MB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.6, allocations: 14.16 kB / 440.5 MB, free: 13.96 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.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_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: 12.937558115983848]