Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001055/0.001055, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001125/0.001125, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9747/0.9747, allocations: 177 MB / 205.9 MB, free: 4.469 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.456e-05, allocations: 9.156 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002432/0.002457, allocations: 1.632 MB / 275.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.003225, allocations: 0.535 MB / 276.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.003305, allocations: 0 / 276.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.867e-05/0.003353, allocations: 7.875 kB / 276.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.003496, allocations: 19.86 kB / 276.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.003739, allocations: 56.36 kB / 276.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003863, allocations: 56.39 kB / 276.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.00396, allocations: 8.188 kB / 276.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004088, allocations: 42.36 kB / 276.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.00414, allocations: 15.92 kB / 276.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.004155, allocations: 4 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.004196, allocations: 4 kB / 276.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.004233, allocations: 15.92 kB / 276.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.004252, allocations: 19.92 kB / 276.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.004358, allocations: 49.7 kB / 276.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00436, allocations: 0 / 276.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004361, allocations: 0 / 276.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.004365, allocations: 0 / 276.6 MB, free: 1.816 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.0003619/0.004727, allocations: 404.2 kB / 277 MB, free: 1.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.004771, allocations: 12.53 kB / 277 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.004877, allocations: 21.53 kB / 277 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.005034, allocations: 153 kB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.005044, allocations: 12.3 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.005051, allocations: 4.375 kB / 277.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.005217, allocations: 129 kB / 277.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005224, allocations: 7.938 kB / 277.3 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.005231, allocations: 0 / 277.3 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.005236, allocations: 0 / 277.3 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.005251, allocations: 8 kB / 277.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.005459, allocations: 259.8 kB / 277.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.005524, allocations: 85.19 kB / 277.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.005549, allocations: 31.17 kB / 277.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.005565, allocations: 7.938 kB / 277.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.005586, allocations: 37.39 kB / 277.7 MB, free: 496 kB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005586, allocations: 0 / 277.7 MB, free: 496 kB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001437/0.00573, allocations: 69.52 kB / 277.8 MB, free: 420 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.005782, allocations: 106.8 kB / 277.9 MB, free: 288 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.005868, allocations: 201.2 kB / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.005878, allocations: 29.7 kB / 278.1 MB, free: 36 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.005936, allocations: 138.7 kB / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.005947, allocations: 0 / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.005971, allocations: 23.36 kB / 278.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006084, allocations: 496.1 kB / 278.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.006091, allocations: 4 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.006098, allocations: 4.375 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/0.006117, allocations: 11.69 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.00612, allocations: 3.938 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.082e-05/0.006161, allocations: 41.58 kB / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.006173, allocations: 8 kB / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.006177, allocations: 0 / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.006185, allocations: 0 / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.006231, allocations: 8 kB / 278.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006233, allocations: 4 kB / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.006248, allocations: 96 / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.006253, allocations: 4 kB / 278.9 MB, free: 15.27 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.006318, allocations: 164.5 kB / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.00636, allocations: 45.59 kB / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.006388, allocations: 15.95 kB / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006389, allocations: 3.938 kB / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006391, allocations: 0 / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006394, allocations: 0 / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.006487, allocations: 113.2 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006489, allocations: 0 / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.006512, allocations: 8.062 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006515, allocations: 7.938 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.006519, allocations: 0 / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.00652, allocations: 0 / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.006522, allocations: 7.938 kB / 279.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.154e-05/0.006614, allocations: 199.3 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.006646, allocations: 31.8 kB / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.006654, allocations: 0 / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.006686, allocations: 4 kB / 279.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.006704, allocations: 0 / 279.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.006708, allocations: 8.031 kB / 279.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.006751, allocations: 143.2 kB / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006751, allocations: 0 / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.006881, allocations: 4 kB / 279.6 MB, free: 14.46 MB / 266.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 6.769e-05/0.006949, allocations: 95.25 kB / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.007017, allocations: 23.59 kB / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007019, allocations: 0 / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.007032, allocations: 11.69 kB / 279.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.007266, allocations: 45.89 kB / 279.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.007647, allocations: 180.5 kB / 280 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.007685, allocations: 67.2 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.007706, allocations: 3.984 kB / 280 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.007762, allocations: 82.19 kB / 280.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007762, allocations: 0 / 280.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002281/0.01004, allocations: 0.7608 MB / 280.9 MB, free: 13.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8773679160512984]