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.001116/0.001116, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001222/0.001222, allocations: 163.5 kB / 24.99 MB, free: 8.809 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 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.629 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.63e-05/4.901e-05, allocations: 6.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004221/0.00427, allocations: 1.535 MB / 274.6 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.005435, allocations: 439 kB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.005574, allocations: 3.938 kB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.005622, allocations: 3.984 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.00572, allocations: 7.766 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.006101, allocations: 27.84 kB / 275.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.006259, allocations: 39.86 kB / 275.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.006412, allocations: 8 kB / 275.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.006548, allocations: 15.98 kB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.006618, allocations: 19.91 kB / 275.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.006656, allocations: 8 kB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.00667, allocations: 0 / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.006703, allocations: 11.98 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.006753, allocations: 8 kB / 275.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.006917, allocations: 23.84 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.006922, allocations: 0 / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.006925, allocations: 0 / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.006935, allocations: 4 kB / 275.2 MB, free: 15.68 MB / 266.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.0006066/0.007541, allocations: 364.6 kB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/0.007614, allocations: 12.03 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.007687, allocations: 8.891 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.007971, allocations: 140.5 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.007987, allocations: 384 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.008007, allocations: 4.375 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.008417, allocations: 106.2 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.008432, allocations: 4.172 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.008449, allocations: 4.375 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.008465, allocations: 3.938 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.00853, allocations: 15.94 kB / 275.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.008712, allocations: 116.6 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.008839, allocations: 47.08 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.008894, allocations: 15.72 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.00892, allocations: 3.938 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.008953, allocations: 33.39 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.008955, allocations: 0 / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002548/0.00921, allocations: 57.62 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.009276, allocations: 59.34 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.009407, allocations: 165.9 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.009424, allocations: 29.7 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.009483, allocations: 126.9 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.00949, allocations: 7.984 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.009525, allocations: 19.38 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.009738, allocations: 492.1 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-06/0.009746, allocations: 0 / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.009754, allocations: 4 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.0098, allocations: 119.2 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-05/0.009842, allocations: 119.2 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.657e-05/0.009918, allocations: 41.64 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.009984, allocations: 129.8 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/0.01004, allocations: 119.2 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.01014, allocations: 250.3 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.0102, allocations: 127.2 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.795e-05/0.01029, allocations: 242.3 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.01039, allocations: 123.1 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.01044, allocations: 127.2 kB / 278.4 MB, free: 12.29 MB / 266.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.0001696/0.01061, allocations: 271.8 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.01072, allocations: 49.62 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.01077, allocations: 12 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01077, allocations: 4 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.01078, allocations: 3.938 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.01079, allocations: 0 / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.0109, allocations: 120.6 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.01091, allocations: 0 / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.01107, allocations: 11.98 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.01108, allocations: 0 / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01109, allocations: 0 / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.0111, allocations: 4 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0111, allocations: 0 / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.01127, allocations: 92.27 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01129, allocations: 4 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.01131, allocations: 3.938 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.01138, allocations: 11.98 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-06/0.01139, allocations: 0 / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.0114, allocations: 288 / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.01148, allocations: 131.1 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01148, allocations: 0 / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01174, allocations: 0 / 279.1 MB, free: 11.51 MB / 266.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.0001662/0.0119, allocations: 95.25 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.868e-05/0.012, allocations: 19.98 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.01201, allocations: 0 / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.01201, allocations: 0 / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.01243, allocations: 17.14 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.0129, allocations: 129 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.856e-05/0.01296, allocations: 59.36 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.747e-05/0.01298, allocations: 3.984 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.01302, allocations: 8.5 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.693e-06/0.01302, allocations: 0 / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.00396/0.01698, allocations: 416.8 kB / 279.8 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.029911263147369]