Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001794/0.001794, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002175/0.002175, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.494/1.494, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.153e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003507/0.003538, allocations: 1.646 MB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.004768, allocations: 0.5452 MB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.004866, allocations: 7.938 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.759e-05/0.004933, allocations: 3.938 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.005077, allocations: 15.86 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.005413, allocations: 67.62 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.005544, allocations: 63.72 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.005642, allocations: 12.22 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005804, allocations: 43.89 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.005893, allocations: 15.92 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.005922, allocations: 4 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.005988, allocations: 15.98 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.006055, allocations: 15.92 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.006105, allocations: 15.94 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.006293, allocations: 75.64 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.006298, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006299, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006304, allocations: 0 / 274.9 MB, free: 15.25 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.0005743/0.006878, allocations: 317.9 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006917, allocations: 8.031 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.007107, allocations: 32.83 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.007407, allocations: 149.6 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.007421, allocations: 4.312 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.007434, allocations: 4.375 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.007791, allocations: 139.3 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007803, allocations: 4.188 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.007813, allocations: 8.312 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.007822, allocations: 3.938 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.00792, allocations: 27.92 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.008292, allocations: 231.1 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.008472, allocations: 94.41 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.008569, allocations: 43.48 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.008597, allocations: 8 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.008641, allocations: 42.44 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.008642, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003608/0.009002, allocations: 105.5 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.009121, allocations: 132.5 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.009298, allocations: 152.8 kB / 276.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.009319, allocations: 26.2 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.009394, allocations: 100.1 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.009414, allocations: 11.92 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.009453, allocations: 13.72 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.009645, allocations: 314.8 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.009688, allocations: 7.984 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.009719, allocations: 8 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.683e-05/0.009796, allocations: 24.78 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.009798, allocations: 0 / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.009921, allocations: 57.64 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.009941, allocations: 10.81 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.009945, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.00996, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.01002, allocations: 7.984 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01003, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.01006, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.01006, allocations: 0 / 276.9 MB, free: 12.96 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 0.000111/0.01018, allocations: 121.8 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.0103, allocations: 73.55 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.01033, allocations: 11.97 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01033, allocations: 4 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01034, allocations: 4 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01034, allocations: 0 / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.01054, allocations: 129.2 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01054, allocations: 3.938 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.01061, allocations: 11.98 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.01061, allocations: 4 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.01063, allocations: 8.031 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.01064, allocations: 4 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01064, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.01091, allocations: 202 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.01096, allocations: 15.94 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01098, allocations: 7.938 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.01106, allocations: 4 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01109, allocations: 3.984 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.0111, allocations: 4 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01121, allocations: 115.2 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01121, allocations: 4 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.01145, allocations: 4 kB / 277.6 MB, free: 12.17 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.0001359/0.01159, allocations: 95.25 kB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.01174, allocations: 31.92 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01174, allocations: 4 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.01178, allocations: 7.984 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.01222, allocations: 41.69 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.0127, allocations: 214.2 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.0128, allocations: 79.33 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.01283, allocations: 3.984 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.01288, allocations: 16.5 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01288, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Templates: time 0.004208/0.01709, allocations: 0.9206 MB / 279 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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: 4.318766626995057]