Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.002099/0.002099, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002692/0.002692, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.55/1.55, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 43.94 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2657, allocations: 53.37 MB / 432.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003255/0.2689, allocations: 1.602 MB / 433.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.27, allocations: 0.5104 MB / 434.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.2701, allocations: 7.938 kB / 434.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.05e-05/0.2701, allocations: 3.938 kB / 434.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.2703, allocations: 19.84 kB / 434.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2706, allocations: 59.45 kB / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2707, allocations: 55.78 kB / 434.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2709, allocations: 8.188 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.271, allocations: 35.84 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.2711, allocations: 19.86 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2711, allocations: 0 / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.2711, allocations: 8 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.2712, allocations: 15.92 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.2712, allocations: 19.81 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2714, allocations: 66.69 kB / 434.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2714, allocations: 0 / 434.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2714, allocations: 3.938 kB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2714, allocations: 4 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005431/0.2719, allocations: 309.9 kB / 435.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.272, allocations: 8.031 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2721, allocations: 16.89 kB / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.2725, allocations: 145 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.2725, allocations: 384 / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.2725, allocations: 11.94 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.2728, allocations: 113.9 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.2729, allocations: 27.91 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2733, allocations: 226.2 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2734, allocations: 75.78 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.2735, allocations: 30.58 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2735, allocations: 0 / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2735, allocations: 42.48 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.2735, allocations: 0 / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002864/0.2738, allocations: 81.56 kB / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.2739, allocations: 115.1 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2741, allocations: 152.8 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2741, allocations: 25.7 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.2742, allocations: 88.14 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.2742, allocations: 4 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.2742, allocations: 25.66 kB / 436.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2744, allocations: 314.8 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.2744, allocations: 19.92 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.2745, allocations: 27.44 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2746, allocations: 51.36 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2746, allocations: 0 / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.2747, allocations: 65.61 kB / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2747, allocations: 8 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2747, allocations: 0 / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2748, allocations: 0 / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.2748, allocations: 16.11 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2748, allocations: 8 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.2749, allocations: 0 / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2749, allocations: 7.938 kB / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 9.847e-05/0.275, allocations: 121.8 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.2751, allocations: 61.69 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.2751, allocations: 11.95 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2751, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2751, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2751, allocations: 64 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2753, allocations: 129.2 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2753, allocations: 0 / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.2753, allocations: 15.92 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2753, allocations: 0 / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2754, allocations: 4 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2754, allocations: 0 / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2754, allocations: 3.938 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.2756, allocations: 181.1 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.2756, allocations: 15.94 kB / 437.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2756, allocations: 8 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.2757, allocations: 3.938 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2757, allocations: 7.984 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2757, allocations: 0 / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.2758, allocations: 115.2 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2758, allocations: 0 / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2761, allocations: 8 kB / 437.4 MB, free: 1.457 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001149/0.2762, allocations: 99.19 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.2763, allocations: 39.86 kB / 437.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2763, allocations: 0 / 437.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.2764, allocations: 7.984 kB / 437.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2767, allocations: 28.02 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.2771, allocations: 210.2 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.809e-05/0.2772, allocations: 79.77 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.2773, allocations: 19.42 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2773, allocations: 0 / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Templates: time 0.002671/0.2799, allocations: 0.8777 MB / 438.8 MB, free: 48 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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: 6.908897124230862]