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.00106/0.00106, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009908/0.0009908, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.57 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.312e-06/1.312e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.744e-05, allocations: 2.312 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001962/0.001979, allocations: 1.642 MB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.002697, allocations: 0.5414 MB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.743e-05/0.002775, allocations: 3.938 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.002822, allocations: 3.938 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.00296, allocations: 15.86 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.003241, allocations: 71.61 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003342, allocations: 47.86 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.003505, allocations: 12.17 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.003631, allocations: 39.84 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.003676, allocations: 11.92 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.003696, allocations: 4 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.003734, allocations: 8 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.003774, allocations: 19.91 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003795, allocations: 11.94 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.003914, allocations: 47.83 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003917, allocations: 3.984 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003917, allocations: 0 / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.003922, allocations: 4 kB / 275.4 MB, free: 14.92 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.0003458/0.004268, allocations: 400.2 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.004301, allocations: 15.98 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.004405, allocations: 16.89 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.004568, allocations: 160.9 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.004578, allocations: 8.375 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.004586, allocations: 384 / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.004796, allocations: 137 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.004802, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.00481, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004816, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.004842, allocations: 15.92 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.005076, allocations: 279.2 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.005147, allocations: 89.25 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.00518, allocations: 43.03 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.005196, allocations: 0 / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.005216, allocations: 41.33 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.005217, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001388/0.005356, allocations: 61.58 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.0054, allocations: 110.8 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.005495, allocations: 201.3 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005506, allocations: 30.02 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.005546, allocations: 134.9 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.005558, allocations: 4 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.005583, allocations: 27.31 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.00568, allocations: 0.4883 MB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.005689, allocations: 0 / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.005695, allocations: 0 / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.005715, allocations: 11.69 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005717, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.114e-05/0.005758, allocations: 41.69 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.005769, allocations: 7.125 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.005773, allocations: 4.094 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.005784, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.005832, allocations: 11.88 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005836, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.005849, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005855, allocations: 3.984 kB / 277.7 MB, free: 12.34 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.49e-05/0.005909, allocations: 160.5 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.005949, allocations: 45.66 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.005974, allocations: 19.89 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.005975, allocations: 4.062 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005979, allocations: 4 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005982, allocations: 0 / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.876e-05/0.006081, allocations: 140.5 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006082, allocations: 4 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.006108, allocations: 7.984 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.006111, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006117, allocations: 0 / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006118, allocations: 0 / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.00612, allocations: 4 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.006236, allocations: 227.1 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.006261, allocations: 15.95 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006271, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.006303, allocations: 7.984 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.006329, allocations: 0 / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.006332, allocations: 4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.006383, allocations: 143.2 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006383, allocations: 0 / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.006517, allocations: 8 kB / 278.5 MB, free: 11.48 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 5.838e-05/0.006576, allocations: 99.23 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.006646, allocations: 23.62 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006647, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.006658, allocations: 7.688 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.006889, allocations: 37.47 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.007285, allocations: 192.3 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.007326, allocations: 63.66 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.007351, allocations: 4 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.007383, allocations: 12.5 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.007384, allocations: 0 / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002149/0.009533, allocations: 0.7271 MB / 279.6 MB, free: 10.25 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.735207558143884]