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.00174/0.00174, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002107/0.002107, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.508/1.508, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.783e-06/1.783e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.611e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003225/0.003251, allocations: 1.628 MB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004602, allocations: 0.55 MB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.004731, allocations: 2.594 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.686e-05/0.004798, allocations: 9.469 kB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.004957, allocations: 12.53 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.005372, allocations: 69.25 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.005524, allocations: 65.64 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.005643, allocations: 13.58 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.005843, allocations: 40.27 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.005924, allocations: 20.44 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.005949, allocations: 3.312 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.006005, allocations: 9.578 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.006066, allocations: 15.55 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.006116, allocations: 16.39 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.006324, allocations: 72.31 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.006327, allocations: 5.031 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006328, allocations: 5 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.006334, allocations: 0 / 327.6 MB, free: 14.84 MB / 302.1 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.0006274/0.006961, allocations: 317 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.007005, allocations: 13.48 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.007191, allocations: 23 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.007518, allocations: 151.5 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.007537, allocations: 10.7 kB / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.00755, allocations: 4.25 kB / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.007918, allocations: 143.5 kB / 328.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.00793, allocations: 192 / 328.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.007946, allocations: 8.359 kB / 328.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.007955, allocations: 8.406 kB / 328.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.792e-05/0.008053, allocations: 26.17 kB / 328.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.008416, allocations: 236.5 kB / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.008594, allocations: 91.86 kB / 328.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.008689, allocations: 43.42 kB / 328.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.008715, allocations: 2.984 kB / 328.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.008757, allocations: 46.36 kB / 328.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.008758, allocations: 0 / 328.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003534/0.009111, allocations: 104.7 kB / 328.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.009228, allocations: 136.6 kB / 328.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.009413, allocations: 147.7 kB / 329 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.009437, allocations: 34.98 kB / 329.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.009514, allocations: 88.08 kB / 329.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.009547, allocations: 9.719 kB / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.009592, allocations: 13.8 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.009755, allocations: 318.6 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.0098, allocations: 10.75 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.009833, allocations: 6.875 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.009915, allocations: 21.47 kB / 329.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009916, allocations: 0 / 329.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.01004, allocations: 51.52 kB / 329.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01006, allocations: 5.922 kB / 329.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01006, allocations: 1.688 kB / 329.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01008, allocations: 4.094 kB / 329.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.01015, allocations: 7.656 kB / 329.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01016, allocations: 4.984 kB / 329.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.0102, allocations: 2.594 kB / 329.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.01021, allocations: 0.9375 kB / 329.6 MB, free: 12.94 MB / 302.1 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.0001051/0.01031, allocations: 121 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.01043, allocations: 71.03 kB / 329.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.01047, allocations: 16.91 kB / 329.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01047, allocations: 1.562 kB / 329.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01048, allocations: 6.766 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01048, allocations: 1.969 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.01066, allocations: 123.2 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01066, allocations: 1.156 kB / 329.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.01074, allocations: 13.28 kB / 330 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01074, allocations: 2.188 kB / 330 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.01076, allocations: 9.672 kB / 330 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01076, allocations: 1.156 kB / 330 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01077, allocations: 2.891 kB / 330 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.01102, allocations: 199.2 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.01107, allocations: 18.06 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.01109, allocations: 6.547 kB / 330.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.01118, allocations: 7.688 kB / 330.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.01121, allocations: 3.922 kB / 330.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.01121, allocations: 1.594 kB / 330.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.01132, allocations: 121.2 kB / 330.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01132, allocations: 0 / 330.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.01157, allocations: 5.656 kB / 330.3 MB, free: 12.33 MB / 302.1 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.0001258/0.01169, allocations: 105.8 kB / 330.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.01185, allocations: 30.17 kB / 330.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01185, allocations: 1.312 kB / 330.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.01189, allocations: 6.953 kB / 330.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.01231, allocations: 43.25 kB / 330.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.01276, allocations: 206.5 kB / 330.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01287, allocations: 89.14 kB / 330.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.006e-05/0.01291, allocations: 8.594 kB / 330.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.01295, allocations: 12.64 kB / 330.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01295, allocations: 0 / 330.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Templates: time 0.004271/0.01722, allocations: 0.8889 MB / 331.7 MB, free: 11.71 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.497315276414156]