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.0008607/0.0008607, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002057, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001098/0.001098, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.00251, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.182/1.182, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1233/1.305, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.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 1.884e-06/1.884e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.893e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002564/0.002593, allocations: 1.696 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.003357, allocations: 0.5536 MB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.003436, allocations: 4 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.003475, allocations: 7.922 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.003543, allocations: 15.88 kB / 247 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.00377, allocations: 63.67 kB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.00388, allocations: 43.8 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.00397, allocations: 16.17 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004123, allocations: 47.83 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.004179, allocations: 15.92 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004198, allocations: 4 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.004261, allocations: 12 kB / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.004307, allocations: 7.938 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.004325, allocations: 12 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.004457, allocations: 47.72 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.00447, allocations: 4 kB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.004471, allocations: 3.984 kB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.00448, allocations: 0 / 247.3 MB, free: 11.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003628/0.004843, allocations: 292.2 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.00488, allocations: 12.03 kB / 247.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.005018, allocations: 90.03 kB / 247.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.005202, allocations: 142.2 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.005213, allocations: 12.38 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.005224, allocations: 384 / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.005394, allocations: 118.9 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005401, allocations: 0 / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.005409, allocations: 3.938 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005414, allocations: 0 / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.005433, allocations: 8 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.005733, allocations: 173.9 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.005794, allocations: 59.8 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.005821, allocations: 26.61 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.005838, allocations: 0 / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.005863, allocations: 38.5 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.81e-07/0.005864, allocations: 0 / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000123/0.005987, allocations: 57.56 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.006039, allocations: 115.2 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.006127, allocations: 137.6 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006141, allocations: 33.7 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.006176, allocations: 80.14 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006192, allocations: 3.953 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006222, allocations: 17.7 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.006303, allocations: 318.8 kB / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-06/0.00631, allocations: 0 / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.006317, allocations: 0 / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.006338, allocations: 8.859 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00634, allocations: 4.062 kB / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.106e-05/0.006381, allocations: 41.56 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006393, allocations: 8 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.006398, allocations: 0 / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.006407, allocations: 0 / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.006454, allocations: 7.984 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/0.006455, allocations: 0 / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.006468, allocations: 0 / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.006472, allocations: 0 / 249 MB, free: 9.645 MB / 250.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.159e-05/0.006533, allocations: 116.6 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.006579, allocations: 53.59 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.006608, allocations: 11.97 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00661, allocations: 0 / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006614, allocations: 4 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.00662, allocations: 3.984 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.006717, allocations: 69.89 kB / 249.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.006719, allocations: 3.984 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.006744, allocations: 8 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.006775, allocations: 19.88 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.006778, allocations: 4.062 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.006783, allocations: 0 / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006784, allocations: 4 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.006787, allocations: 3.938 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.006885, allocations: 149.2 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006897, allocations: 3.938 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.006927, allocations: 0 / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.006955, allocations: 4 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006959, allocations: 4 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.006995, allocations: 28.83 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006995, allocations: 4.031 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000118/0.007113, allocations: 11.95 kB / 249.5 MB, free: 9.086 MB / 250.7 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 7.713e-05/0.00719, allocations: 76.42 kB / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.926e-05/0.007259, allocations: 20.78 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.007265, allocations: 3.984 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.007282, allocations: 8.859 kB / 249.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.007538, allocations: 142.7 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.008255, allocations: 203.4 kB / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.008298, allocations: 63.34 kB / 250 MB, free: 8.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.008323, allocations: 4 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.008383, allocations: 51.38 kB / 250.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of SimCode: time 1.162e-06/0.008384, allocations: 4 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of Templates: time 0.002313/0.0107, allocations: 0.7572 MB / 250.9 MB, free: 7.695 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.680508120916784]