Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009316, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8742/0.8742, allocations: 173.4 MB / 201.5 MB, free: 8.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.788e-06/1.087e-05, allocations: 6.25 kB / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001688/0.001699, allocations: 1.635 MB / 270.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.002261, allocations: 486.4 kB / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.00232, allocations: 7.938 kB / 270.6 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.002354, allocations: 3.938 kB / 270.6 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.002451, allocations: 19.84 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.002614, allocations: 51.72 kB / 270.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.002687, allocations: 47.84 kB / 270.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.002746, allocations: 12.17 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.002808, allocations: 27.91 kB / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.002845, allocations: 15.92 kB / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00286, allocations: 4 kB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.002868, allocations: 4 kB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.002901, allocations: 15.92 kB / 270.8 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.002917, allocations: 11.98 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.503e-05/0.002992, allocations: 43.77 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002994, allocations: 8 kB / 270.9 MB, free: 3.609 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.002994, allocations: 0 / 270.9 MB, free: 3.609 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.002997, allocations: 0 / 270.9 MB, free: 3.609 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.000254/0.003251, allocations: 272.6 kB / 271.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.003276, allocations: 8.031 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.003299, allocations: 12.92 kB / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.003421, allocations: 141.6 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.003428, allocations: 4.375 kB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.003436, allocations: 4.375 kB / 271.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.003573, allocations: 111.1 kB / 271.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003579, allocations: 4.188 kB / 271.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.003586, allocations: 8.125 kB / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.00359, allocations: 0 / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.003606, allocations: 11.92 kB / 271.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.003748, allocations: 158 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.003802, allocations: 67.8 kB / 271.6 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.003822, allocations: 22.58 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.003834, allocations: 3.938 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.00385, allocations: 34.56 kB / 271.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.92e-07/0.003851, allocations: 0 / 271.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001176/0.003969, allocations: 61.55 kB / 271.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.004014, allocations: 110.8 kB / 271.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.004076, allocations: 135 kB / 272 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004086, allocations: 33.7 kB / 272 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.004111, allocations: 88.12 kB / 272.1 MB, free: 2.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.004122, allocations: 7.938 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.004143, allocations: 13.72 kB / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.004208, allocations: 310.8 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-06/0.004213, allocations: 0 / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.004218, allocations: 4 kB / 272.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.539e-05/0.004234, allocations: 8.844 kB / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.004235, allocations: 0 / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.305e-05/0.004268, allocations: 45.7 kB / 272.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.004276, allocations: 4 kB / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.00428, allocations: 3.938 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.004288, allocations: 0 / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.004328, allocations: 7.984 kB / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.00433, allocations: 0 / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.004342, allocations: 0 / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.004346, allocations: 4 kB / 272.5 MB, free: 1.727 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 4.609e-05/0.004392, allocations: 116.7 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.004427, allocations: 49.66 kB / 272.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.004449, allocations: 15.89 kB / 272.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.004451, allocations: 4 kB / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.004452, allocations: 0 / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004455, allocations: 0 / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.004532, allocations: 73.88 kB / 272.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.004535, allocations: 7.984 kB / 272.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.004556, allocations: 4 kB / 272.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.004559, allocations: 4 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.004563, allocations: 0 / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004564, allocations: 3.938 kB / 272.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.004566, allocations: 8 kB / 272.8 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.057e-05/0.004627, allocations: 145.2 kB / 272.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.004651, allocations: 19.94 kB / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.004659, allocations: 0 / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.004688, allocations: 0 / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.004709, allocations: 7.938 kB / 273 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.004711, allocations: 0 / 273 MB, free: 1.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.368e-05/0.004735, allocations: 35.73 kB / 273 MB, free: 1.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004735, allocations: 0 / 273 MB, free: 1.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.004847, allocations: 8 kB / 273 MB, free: 1.172 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 5.985e-05/0.004907, allocations: 80.45 kB / 273.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.659e-05/0.004953, allocations: 12.8 kB / 273.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.004956, allocations: 4 kB / 273.1 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-06/0.004965, allocations: 8.844 kB / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.005124, allocations: 20.5 kB / 273.1 MB, free: 1.035 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.005441, allocations: 200 kB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.005474, allocations: 63.34 kB / 273.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.005491, allocations: 4 kB / 273.4 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.005536, allocations: 55.36 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005537, allocations: 0 / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of Templates: time 0.001862/0.007398, allocations: 0.7256 MB / 274.2 MB, free: 15.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.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.403219678904861]