Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001313/0.001313, allocations: 82.59 kB / 21.42 MB, free: 3.074 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.0009667/0.0009667, allocations: 167.6 kB / 24.82 MB, free: 8.926 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.9299/0.9299, allocations: 177 MB / 205.1 MB, free: 5.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.205e-05, allocations: 2.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001787/0.001799, allocations: 1.617 MB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.00252, allocations: 0.5336 MB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.002602, allocations: 4 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.002645, allocations: 3.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.002775, allocations: 15.86 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.003013, allocations: 67.61 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.003098, allocations: 47.8 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.003184, allocations: 20.16 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.003283, allocations: 31.92 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.003325, allocations: 19.92 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.003339, allocations: 0 / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.003372, allocations: 11.98 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.003404, allocations: 15.92 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.00342, allocations: 8 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.003513, allocations: 51.7 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003516, allocations: 3.984 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003517, allocations: 0 / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.00352, allocations: 0 / 275.8 MB, free: 14.76 MB / 266.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.0003169/0.003837, allocations: 416.2 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003869, allocations: 11.98 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.003958, allocations: 20.89 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.004081, allocations: 141 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.00409, allocations: 8.375 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.004096, allocations: 384 / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004249, allocations: 125.3 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.004255, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.004261, allocations: 7.875 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004265, allocations: 0 / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.177e-05/0.004277, allocations: 4 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.004472, allocations: 244.1 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.004514, allocations: 58.12 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.00453, allocations: 15.38 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.004549, allocations: 3.938 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004567, allocations: 41.45 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004568, allocations: 0 / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.00011/0.004678, allocations: 53.58 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.004721, allocations: 81.05 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.004811, allocations: 205.2 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.004821, allocations: 25.7 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.004864, allocations: 134.8 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.004876, allocations: 7.984 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.004899, allocations: 15.38 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.004998, allocations: 0.4886 MB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.005004, allocations: 4 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.005011, allocations: 4 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.005029, allocations: 11.69 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005032, allocations: 3.938 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.891e-05/0.005071, allocations: 45.58 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.00508, allocations: 4 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.005083, allocations: 0 / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.005092, allocations: 0 / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.005131, allocations: 4 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.005133, allocations: 4.094 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.005147, allocations: 0 / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.005152, allocations: 4 kB / 277.9 MB, free: 12.36 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 5.548e-05/0.005207, allocations: 164.5 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.005237, allocations: 41.64 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.005257, allocations: 3.812 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005259, allocations: 4 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.00526, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.005263, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.87e-05/0.005351, allocations: 109.3 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005352, allocations: 7.938 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.005369, allocations: 11.92 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005371, allocations: 3.938 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.005376, allocations: 4 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005376, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005377, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.005454, allocations: 191.6 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.005481, allocations: 27.8 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.005489, allocations: 0 / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.00552, allocations: 8.031 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.00554, allocations: 3.984 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.005541, allocations: 0 / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.005586, allocations: 143.2 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005586, allocations: 0 / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.005723, allocations: 8 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.11e-05/0.005784, allocations: 95.19 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.89e-05/0.005833, allocations: 15.67 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005834, allocations: 0 / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.005846, allocations: 15.75 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.006062, allocations: 24.23 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.006412, allocations: 169.3 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.006447, allocations: 63.34 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.914e-05/0.006466, allocations: 256 / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.006518, allocations: 78.19 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006519, allocations: 4.156 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Templates: time 0.001824/0.008343, allocations: 0.6866 MB / 279.8 MB, free: 10.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/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.621606606990099]