Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001022/0.001022, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009854/0.0009854, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9584/0.9584, allocations: 177.1 MB / 205 MB, free: 5.219 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.491e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003195/0.00322, allocations: 1.603 MB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.003743, allocations: 143.4 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.003851, allocations: 8 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.034e-05/0.003932, allocations: 3.938 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.004139, allocations: 15.86 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.00446, allocations: 35.84 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.004591, allocations: 35.84 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.00472, allocations: 11.98 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.004788, allocations: 15.98 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.004843, allocations: 15.92 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004869, allocations: 4 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.004881, allocations: 0 / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.004944, allocations: 15.92 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.004989, allocations: 11.98 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.005128, allocations: 39.78 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00513, allocations: 0 / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005131, allocations: 0 / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.005137, allocations: 0 / 274.9 MB, free: 15.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005635/0.005701, allocations: 396.3 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.005753, allocations: 8.031 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.005812, allocations: 12.89 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.006047, allocations: 140.5 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006063, allocations: 384 / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006083, allocations: 8.375 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.006437, allocations: 121.6 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.006454, allocations: 4.172 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.006469, allocations: 8.359 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.00648, allocations: 384 / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.006514, allocations: 15.94 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.006872, allocations: 267.4 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.007067, allocations: 62.19 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.007125, allocations: 31.42 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.007152, allocations: 3.938 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.007187, allocations: 41.39 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.007188, allocations: 0 / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.007392, allocations: 61.52 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.007449, allocations: 81.11 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.007587, allocations: 193.7 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.0076, allocations: 25.7 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.007665, allocations: 138.9 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.007683, allocations: 3.953 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.007717, allocations: 19.38 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.007871, allocations: 496.1 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.007885, allocations: 0 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.007892, allocations: 0 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.007917, allocations: 11.69 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.00792, allocations: 3.938 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.3e-05/0.007983, allocations: 41.75 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007997, allocations: 4 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.008003, allocations: 7.875 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.008024, allocations: 0 / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.00808, allocations: 4 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.008086, allocations: 0 / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.008103, allocations: 0 / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.008109, allocations: 0 / 277.1 MB, free: 12.99 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 (1): * Single equations (assignments): 1 * 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 8.434e-05/0.008193, allocations: 160.6 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.008267, allocations: 49.58 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.008313, allocations: 20.3 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008315, allocations: 0 / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.008321, allocations: 4 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.008325, allocations: 0 / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008468, allocations: 124.6 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00847, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.00852, allocations: 8 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008522, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.00853, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.008536, allocations: 7.938 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.008539, allocations: 3.984 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.008694, allocations: 211.8 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.008733, allocations: 19.98 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008748, allocations: 3.984 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.008804, allocations: 3.938 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.008849, allocations: 7.984 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.008853, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.008954, allocations: 143.2 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.008954, allocations: 0 / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.009101, allocations: 4 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 8.744e-05/0.009189, allocations: 99.19 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.009293, allocations: 19.67 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009295, allocations: 0 / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.009312, allocations: 15.62 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.009583, allocations: 19.78 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.009912, allocations: 160.8 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.313e-05/0.009975, allocations: 59.34 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.009997, allocations: 8.375 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.01003, allocations: 16.44 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01003, allocations: 0 / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002286/0.01232, allocations: 0.5206 MB / 278.8 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.0174005427397788]