Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001884/0.001884, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001089/0.001089, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.075/1.075, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.261e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003474/0.003507, allocations: 1.677 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.00476, allocations: 0.5725 MB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004865, allocations: 3.938 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.148e-05/0.004936, allocations: 15.86 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.005102, allocations: 7.875 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.005516, allocations: 67.73 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.005661, allocations: 63.72 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005785, allocations: 12.22 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.005978, allocations: 51.83 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.006046, allocations: 15.92 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.00607, allocations: 8 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-05/0.006119, allocations: 4 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.006178, allocations: 27.91 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.006213, allocations: 11.94 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.009471, allocations: 51.77 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.009478, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009479, allocations: 3.938 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.009486, allocations: 0 / 275.5 MB, free: 14.83 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005292/0.01002, allocations: 416.2 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.01007, allocations: 15.98 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.01025, allocations: 28.83 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.01053, allocations: 156.4 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.01055, allocations: 8.375 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.01057, allocations: 4.375 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.0109, allocations: 152.9 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.01091, allocations: 4.188 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.01093, allocations: 4.375 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.01094, allocations: 3.938 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.01098, allocations: 11.94 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.01135, allocations: 298.8 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.01148, allocations: 120.2 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.01154, allocations: 38.88 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.01157, allocations: 12 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.0116, allocations: 45.31 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.0116, allocations: 0 / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002607/0.01186, allocations: 77.52 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.01195, allocations: 136.5 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.0121, allocations: 207.3 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01212, allocations: 25.7 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.01219, allocations: 142.9 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.01221, allocations: 4.453 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003066/0.01527, allocations: 23.38 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01541, allocations: 496.1 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.01543, allocations: 3.984 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.01544, allocations: 4 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.01548, allocations: 7.688 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01548, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.053e-05/0.01557, allocations: 45.53 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01559, allocations: 6.812 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.0156, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01562, allocations: 8.094 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.01571, allocations: 3.984 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01572, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.01575, allocations: 8 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.01575, allocations: 0 / 278 MB, free: 12.05 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.568e-05/0.01584, allocations: 152.6 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.01594, allocations: 69.45 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.01598, allocations: 15.95 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.01599, allocations: 4 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01599, allocations: 4.094 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01599, allocations: 0 / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01616, allocations: 132.6 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01617, allocations: 4 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.01624, allocations: 15.98 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01625, allocations: 4 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01626, allocations: 3.938 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01626, allocations: 3.938 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01627, allocations: 4 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.01647, allocations: 238.9 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.01652, allocations: 19.95 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01654, allocations: 11.91 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.01661, allocations: 4 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.01665, allocations: 0 / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01665, allocations: 4 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.01674, allocations: 156.7 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01674, allocations: 0 / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01699, allocations: 8 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001379/0.01713, allocations: 99.19 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01725, allocations: 27.67 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.01725, allocations: 0 / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.01727, allocations: 11.62 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.01771, allocations: 34.3 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.02144, allocations: 224.3 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.0215, allocations: 63.75 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.02155, allocations: 8 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.02159, allocations: 12.5 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.02159, allocations: 0 / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006888/0.02848, allocations: 0.9627 MB / 280.2 MB, free: 9.637 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.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: 2.699577526189387]