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.001587/0.001587, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001076/0.001076, allocations: 166.5 kB / 25.61 MB, free: 8.879 MB / 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 0.9237/0.9237, allocations: 177 MB / 205.9 MB, free: 4.449 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 1.393e-06/1.393e-06, allocations: 0 / 274.1 MB, free: 4.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.368e-05, allocations: 3.969 kB / 274.1 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002368/0.002392, allocations: 1.673 MB / 275.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.003162, allocations: 0.5606 MB / 276.4 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.003249, allocations: 7.938 kB / 276.4 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.003297, allocations: 7.922 kB / 276.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.003427, allocations: 11.88 kB / 276.4 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.003688, allocations: 71.67 kB / 276.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003789, allocations: 64.72 kB / 276.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.00388, allocations: 12.23 kB / 276.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003996, allocations: 44.81 kB / 276.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.004047, allocations: 19.92 kB / 276.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004066, allocations: 7.984 kB / 276.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.004105, allocations: 4.625 kB / 276.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.004149, allocations: 15.94 kB / 276.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.004171, allocations: 18.39 kB / 276.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.004285, allocations: 59.69 kB / 276.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004286, allocations: 0 / 276.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004287, allocations: 0 / 276.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004291, allocations: 3.938 kB / 276.7 MB, free: 1.543 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.0004159/0.004707, allocations: 416.2 kB / 277.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.004738, allocations: 10.06 kB / 277.1 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.004838, allocations: 20.84 kB / 277.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004997, allocations: 160.9 kB / 277.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.005012, allocations: 16.25 kB / 277.3 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.00502, allocations: 8.375 kB / 277.3 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.005187, allocations: 149 kB / 277.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.005192, allocations: 192 / 277.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.005198, allocations: 384 / 277.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005204, allocations: 7.938 kB / 277.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.005223, allocations: 7.938 kB / 277.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.005423, allocations: 275.3 kB / 277.7 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.005509, allocations: 124.3 kB / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.005541, allocations: 38.81 kB / 277.9 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.005558, allocations: 3.984 kB / 277.9 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.00558, allocations: 45.33 kB / 278 MB, free: 80 kB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.005581, allocations: 0 / 278 MB, free: 80 kB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001461/0.005727, allocations: 74.03 kB / 278 MB, free: 16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.00578, allocations: 144.5 kB / 278.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.005869, allocations: 200.7 kB / 278.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005879, allocations: 29.7 kB / 278.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.005922, allocations: 138.9 kB / 278.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.005933, allocations: 3.953 kB / 278.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.00596, allocations: 23.36 kB / 278.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.006083, allocations: 496.1 kB / 279 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.006093, allocations: 4 kB / 279 MB, free: 14.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.0061, allocations: 0 / 279 MB, free: 14.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.006121, allocations: 15.69 kB / 279.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006123, allocations: 0 / 279.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.402e-05/0.006167, allocations: 37.66 kB / 279.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.00618, allocations: 11.94 kB / 279.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006184, allocations: 0 / 279.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.006192, allocations: 0 / 279.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.006241, allocations: 3.984 kB / 279.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006243, allocations: 4 kB / 279.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.006259, allocations: 4 kB / 279.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.006266, allocations: 4 kB / 279.1 MB, free: 14.81 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 6.527e-05/0.006332, allocations: 160.6 kB / 279.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.006383, allocations: 61.58 kB / 279.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.006414, allocations: 19.73 kB / 279.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.006419, allocations: 7.984 kB / 279.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006421, allocations: 0 / 279.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006425, allocations: 0 / 279.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.006522, allocations: 109.2 kB / 279.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006523, allocations: 0 / 279.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.006557, allocations: 15.94 kB / 279.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006558, allocations: 4.094 kB / 279.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.006565, allocations: 11.97 kB / 279.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.006568, allocations: 4 kB / 279.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.00657, allocations: 3.938 kB / 279.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.006664, allocations: 210.9 kB / 279.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.006695, allocations: 23.89 kB / 279.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.006707, allocations: 0 / 279.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.006741, allocations: 4 kB / 279.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.006766, allocations: 7.922 kB / 279.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.006771, allocations: 4 kB / 279.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.006823, allocations: 158.6 kB / 279.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006823, allocations: 0 / 279.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.006955, allocations: 4 kB / 279.9 MB, free: 13.95 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.907e-05/0.007024, allocations: 99.19 kB / 280 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.007086, allocations: 23.62 kB / 280 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.51e-07/0.007087, allocations: 0 / 280 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.007098, allocations: 11.67 kB / 280 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.007328, allocations: 45.41 kB / 280.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.00768, allocations: 220.5 kB / 280.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.007756, allocations: 67.2 kB / 280.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.007798, allocations: 4 kB / 280.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.007873, allocations: 86.19 kB / 280.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.007874, allocations: 0 / 280.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Templates: time 0.002523/0.0104, allocations: 0.9871 MB / 281.5 MB, free: 12.37 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.789811839815229]