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.0009746/0.0009746, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008604/0.0008604, allocations: 170.1 kB / 24.91 MB, free: 8.723 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 0.9347/0.9347, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.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.293e-06/1.293e-06, allocations: 0 / 273.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.105e-05, allocations: 3.344 kB / 273.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002189/0.00221, allocations: 1.671 MB / 275.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.003045, allocations: 0.5694 MB / 275.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.003129, allocations: 8.688 kB / 275.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.003174, allocations: 3.938 kB / 275.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.003303, allocations: 12.55 kB / 275.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003577, allocations: 76.17 kB / 275.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.003674, allocations: 64.34 kB / 275.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.003748, allocations: 8.234 kB / 275.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003871, allocations: 44.83 kB / 275.9 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.003919, allocations: 19.91 kB / 275.9 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003934, allocations: 5.469 kB / 275.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.003969, allocations: 8 kB / 276 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.004007, allocations: 19.92 kB / 276 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.004026, allocations: 15.92 kB / 276 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.004144, allocations: 60.53 kB / 276 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004147, allocations: 0 / 276 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004147, allocations: 0.6562 kB / 276 MB, free: 1.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004151, allocations: 3.938 kB / 276.1 MB, free: 1.84 MB / 250.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.0002969/0.004448, allocations: 287 kB / 276.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.004476, allocations: 12.03 kB / 276.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.004578, allocations: 20.92 kB / 276.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.004734, allocations: 161.5 kB / 276.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004742, allocations: 8.312 kB / 276.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.004752, allocations: 4.375 kB / 276.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.004919, allocations: 128 kB / 276.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.004924, allocations: 192 / 276.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004933, allocations: 8.375 kB / 276.7 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.004938, allocations: 3.938 kB / 276.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.004959, allocations: 23.92 kB / 276.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.005126, allocations: 158.9 kB / 276.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.005194, allocations: 82.34 kB / 276.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.005222, allocations: 31.56 kB / 277 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.005238, allocations: 7.984 kB / 277 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005258, allocations: 38.5 kB / 277 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005259, allocations: 0 / 277 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001188/0.005378, allocations: 77.48 kB / 277.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.005429, allocations: 128.5 kB / 277.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.005502, allocations: 149.5 kB / 277.4 MB, free: 344 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.005512, allocations: 25.7 kB / 277.4 MB, free: 312 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.005544, allocations: 99.95 kB / 277.5 MB, free: 208 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.005557, allocations: 3.953 kB / 277.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.005579, allocations: 13.72 kB / 277.5 MB, free: 184 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.005662, allocations: 319.3 kB / 277.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.005671, allocations: 4 kB / 277.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.005677, allocations: 4 kB / 277.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.047e-05/0.005698, allocations: 12.8 kB / 277.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005699, allocations: 0 / 277.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.233e-05/0.005742, allocations: 33.69 kB / 277.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.005751, allocations: 4 kB / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005757, allocations: 7.938 kB / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.005766, allocations: 0 / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.005813, allocations: 0 / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.005816, allocations: 0 / 277.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.005832, allocations: 8.094 kB / 277.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005836, allocations: 0 / 277.9 MB, free: 15.78 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 5.348e-05/0.005889, allocations: 116.7 kB / 278 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.005935, allocations: 53.56 kB / 278 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.00596, allocations: 19.84 kB / 278.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.005964, allocations: 7.984 kB / 278.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005966, allocations: 3.984 kB / 278.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005969, allocations: 0 / 278.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.006059, allocations: 81.88 kB / 278.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.00606, allocations: 4.094 kB / 278.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.006091, allocations: 12 kB / 278.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006093, allocations: 4 kB / 278.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006098, allocations: 3.984 kB / 278.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.0061, allocations: 4 kB / 278.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.006102, allocations: 3.938 kB / 278.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.937e-05/0.006171, allocations: 150.1 kB / 278.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.006198, allocations: 15.91 kB / 278.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.00621, allocations: 4 kB / 278.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.006244, allocations: 8.031 kB / 278.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.006264, allocations: 7.922 kB / 278.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006268, allocations: 4 kB / 278.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.649e-05/0.006294, allocations: 36.08 kB / 278.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006294, allocations: 0 / 278.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.006415, allocations: 8 kB / 278.4 MB, free: 15.18 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 6.632e-05/0.006481, allocations: 80.41 kB / 278.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.991e-05/0.006531, allocations: 16.8 kB / 278.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006534, allocations: 0 / 278.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.006544, allocations: 12.92 kB / 278.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.006747, allocations: 41.31 kB / 278.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.007122, allocations: 217.1 kB / 278.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.00716, allocations: 67.2 kB / 278.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.007184, allocations: 8.328 kB / 278.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.007239, allocations: 59.38 kB / 278.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007239, allocations: 3.938 kB / 278.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002386/0.009625, allocations: 0.9513 MB / 279.9 MB, free: 13.68 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.560003729071468]