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.001552/0.001552, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001622/0.001622, allocations: 160.9 kB / 24.27 MB, free: 164 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.483/1.483, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.144e-06/2.144e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.068e-05, allocations: 5.266 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.004253/0.004294, allocations: 1.572 MB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005845, allocations: 0.5218 MB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.005991, allocations: 0 / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.403e-05/0.006065, allocations: 7.922 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.006258, allocations: 11.92 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.006728, allocations: 63.69 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.006901, allocations: 55.73 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.007025, allocations: 20.09 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.007233, allocations: 31.91 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.007326, allocations: 19.97 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.007355, allocations: 4 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.007413, allocations: 4 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.007475, allocations: 11.94 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.007521, allocations: 19.92 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.00772, allocations: 51.8 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007724, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007726, allocations: 4 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007732, allocations: 3.938 kB / 274.6 MB, free: 15.4 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.00065/0.008382, allocations: 309.9 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.008429, allocations: 11.98 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.008637, allocations: 20.88 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.008998, allocations: 146.2 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.009014, allocations: 4.375 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.009026, allocations: 384 / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.009363, allocations: 117.3 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.009372, allocations: 0 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.009382, allocations: 0 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009387, allocations: 0 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.009475, allocations: 23.92 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.009865, allocations: 201.5 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.009984, allocations: 53.09 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.01004, allocations: 21.77 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01007, allocations: 4 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.01011, allocations: 34.56 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.01011, allocations: 0 / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000299/0.01041, allocations: 69.56 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.01049, allocations: 77.11 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01068, allocations: 149.2 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01071, allocations: 29.95 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.01078, allocations: 92.08 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.0108, allocations: 3.953 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.01084, allocations: 21.7 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.01105, allocations: 318.7 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.01109, allocations: 8 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.01113, allocations: 11.98 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.0112, allocations: 20.84 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0112, allocations: 0 / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004707/0.01167, allocations: 53.7 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.0117, allocations: 8 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.0117, allocations: 0 / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01172, allocations: 0 / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.0118, allocations: 11.92 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.0118, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.01183, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.01184, allocations: 0 / 276.4 MB, free: 13.41 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 0.0001351/0.01198, allocations: 121.8 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.01205, allocations: 41.67 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.01208, allocations: 11.81 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01209, allocations: 0 / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01209, allocations: 4 kB / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.0121, allocations: 0 / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01228, allocations: 121.2 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01229, allocations: 4 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01233, allocations: 4 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01233, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.01234, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01234, allocations: 4.031 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01234, allocations: 3.938 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.01256, allocations: 164.3 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.0126, allocations: 19.92 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01262, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.01268, allocations: 4 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.01272, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01273, allocations: 4 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.01284, allocations: 107.2 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01284, allocations: 4.031 kB / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.01305, allocations: 4 kB / 277 MB, free: 12.74 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 0.0001349/0.01318, allocations: 95.25 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01332, allocations: 27.86 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01332, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.01336, allocations: 7.984 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.01375, allocations: 32.17 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.01416, allocations: 180.8 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.01426, allocations: 75.33 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.01429, allocations: 256 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.01433, allocations: 16.5 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01433, allocations: 0 / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.00381/0.01814, allocations: 0.6342 MB / 278 MB, free: 11.64 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3429444989888]