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.001678/0.001678, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.00164/0.00164, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.02 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.113e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003096/0.003117, allocations: 1.65 MB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004124, allocations: 0.5374 MB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004225, allocations: 7.938 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.004284, allocations: 11.92 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.004455, allocations: 15.86 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.004784, allocations: 63.62 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.004897, allocations: 43.86 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.004982, allocations: 16.16 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005111, allocations: 39.84 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.005167, allocations: 19.91 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.005183, allocations: 4 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.005225, allocations: 8 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.005265, allocations: 11.94 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.005286, allocations: 15.92 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.005408, allocations: 47.83 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00541, allocations: 0 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005411, allocations: 0 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.005414, allocations: 0 / 275.9 MB, free: 14.54 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.0003495/0.005764, allocations: 284.5 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.005794, allocations: 11.98 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.005891, allocations: 16.92 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.00604, allocations: 158.1 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.006047, allocations: 384 / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.006057, allocations: 4.375 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.006209, allocations: 114.9 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.006215, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.006222, allocations: 4 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006227, allocations: 4 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.006245, allocations: 11.94 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.006394, allocations: 154 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.00645, allocations: 63.72 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.006478, allocations: 22.64 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.006494, allocations: 4 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.006514, allocations: 42.5 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.006514, allocations: 0 / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001022/0.006616, allocations: 54 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.006664, allocations: 114.7 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.006736, allocations: 143.8 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.006745, allocations: 25.7 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.006774, allocations: 88.12 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.006785, allocations: 3.953 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.006806, allocations: 17.7 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.006878, allocations: 310.8 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.006883, allocations: 0 / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.006891, allocations: 4 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.006909, allocations: 12.91 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.00691, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.378e-05/0.006944, allocations: 41.58 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.006953, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.006956, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.006965, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.007008, allocations: 7.984 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.007011, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.007023, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.007028, allocations: 7.938 kB / 277.6 MB, free: 12.63 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.145e-05/0.007079, allocations: 120.7 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.007115, allocations: 49.56 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.007136, allocations: 7.969 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007138, allocations: 4 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00714, allocations: 0 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.007143, allocations: 3.984 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.134e-05/0.007225, allocations: 77.83 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007226, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.007248, allocations: 7.984 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.007251, allocations: 12 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.007255, allocations: 0 / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.007256, allocations: 0 / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007257, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.00732, allocations: 141.2 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.007345, allocations: 23.89 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007356, allocations: 3.938 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.007409, allocations: 4 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.007428, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.007431, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.007456, allocations: 44.41 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007456, allocations: 0 / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001105/0.007567, allocations: 4 kB / 278.1 MB, free: 12.08 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.466e-05/0.007632, allocations: 76.42 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.112e-05/0.007683, allocations: 12.8 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.007686, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.007696, allocations: 4.859 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.007874, allocations: 33.02 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.008267, allocations: 199.9 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.008307, allocations: 59.34 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.008326, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.008389, allocations: 59.36 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.00839, allocations: 0 / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of Templates: time 0.002076/0.01047, allocations: 0.7272 MB / 279.2 MB, free: 10.86 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.6655795467086136]