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.001167/0.001167, allocations: 92.28 kB / 21.44 MB, free: 3.129 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.003681/0.003681, allocations: 157.9 kB / 24.7 MB, free: 8.906 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.8675/0.8675, allocations: 177 MB / 204.9 MB, free: 5.75 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.342e-06/1.342e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.048e-05, allocations: 6.781 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00264/0.00266, allocations: 1.578 MB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.003575, allocations: 0.5375 MB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.003659, allocations: 0 / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.00371, allocations: 7.875 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.003853, allocations: 15.88 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.004172, allocations: 63.06 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.004289, allocations: 51.78 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.004387, allocations: 12.17 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004527, allocations: 39.89 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.004582, allocations: 11.98 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.0046, allocations: 4 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.004639, allocations: 4 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.004685, allocations: 11.94 kB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.004716, allocations: 23.92 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004865, allocations: 63.72 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004868, allocations: 0 / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004869, allocations: 0 / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004873, allocations: 0 / 328.2 MB, free: 12.98 MB / 298.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.0003778/0.005251, allocations: 305.9 kB / 328.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005284, allocations: 15.98 kB / 328.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.005378, allocations: 16.88 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.005535, allocations: 142.2 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.005544, allocations: 4.375 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.005551, allocations: 384 / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005747, allocations: 121.3 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005754, allocations: 0 / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005762, allocations: 0 / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.005767, allocations: 0 / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.005809, allocations: 27.86 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.006025, allocations: 205.5 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.006078, allocations: 49.09 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.006102, allocations: 17.77 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.006117, allocations: 0 / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.006134, allocations: 38.56 kB / 329.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.006136, allocations: 3.984 kB / 329.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.006278, allocations: 69.81 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.006315, allocations: 81.11 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.006399, allocations: 152.8 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.006408, allocations: 29.64 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.006441, allocations: 88.14 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.006452, allocations: 7.891 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.006476, allocations: 17.7 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.006547, allocations: 318.8 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.006565, allocations: 4 kB / 329.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.00658, allocations: 11.98 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.006617, allocations: 24.91 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006618, allocations: 0 / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.248e-05/0.006671, allocations: 49.64 kB / 329.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.006681, allocations: 4 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006685, allocations: 0 / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.006695, allocations: 4 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.006736, allocations: 7.922 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.00674, allocations: 0 / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.006754, allocations: 4.031 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.006759, allocations: 4 kB / 330 MB, free: 10.98 MB / 298.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.284e-05/0.006812, allocations: 117.8 kB / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.006839, allocations: 41.64 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.006858, allocations: 11.81 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.00686, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.006863, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.006865, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.111e-05/0.006956, allocations: 121.2 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006957, allocations: 0 / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.006975, allocations: 8.031 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006976, allocations: 0 / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006982, allocations: 8 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006983, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006985, allocations: 3.938 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.904e-05/0.007074, allocations: 160.3 kB / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.007096, allocations: 15.94 kB / 330.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007108, allocations: 11.94 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.007139, allocations: 0 / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.007162, allocations: 4.031 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.007164, allocations: 4 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.007211, allocations: 111.2 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007211, allocations: 0 / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.007349, allocations: 11.88 kB / 330.6 MB, free: 10.3 MB / 298.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 5.705e-05/0.007406, allocations: 95.23 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.007481, allocations: 23.92 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007482, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.007501, allocations: 12.06 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.007713, allocations: 19.95 kB / 330.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.007947, allocations: 195.2 kB / 330.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.007997, allocations: 79.08 kB / 331 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.008019, allocations: 12.5 kB / 331 MB, free: 9.812 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00802, allocations: 0 / 331 MB, free: 9.812 MB / 298.7 MB Notification: Performance of Templates: time 0.001359/0.009378, allocations: 0.7923 MB / 331.8 MB, free: 9.027 MB / 298.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.2272785333916545]