Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0009738/0.0009738, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00107/0.00107, allocations: 165 kB / 24.99 MB, free: 8.219 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.9687/0.9687, allocations: 177 MB / 205.2 MB, free: 5.586 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.787e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001926/0.001944, allocations: 1.61 MB / 274.6 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.002705, allocations: 0.5491 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.002785, allocations: 4 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.002829, allocations: 7.922 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.002952, allocations: 7.875 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.003217, allocations: 63.73 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.003325, allocations: 51.73 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.003415, allocations: 12.17 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.003524, allocations: 39.89 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.00357, allocations: 15.92 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003585, allocations: 4 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.003619, allocations: 4 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.003659, allocations: 11.98 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.003684, allocations: 19.92 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003812, allocations: 43.77 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003814, allocations: 4 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003815, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003819, allocations: 0 / 275.4 MB, free: 15.3 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.0004138/0.004232, allocations: 412.2 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.00427, allocations: 11.98 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.004402, allocations: 24.88 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.00458, allocations: 145.3 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004591, allocations: 4.375 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.0046, allocations: 8.375 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.00483, allocations: 117.6 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004838, allocations: 4.188 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004848, allocations: 4.125 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004854, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.004879, allocations: 11.92 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.005145, allocations: 263.5 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.005206, allocations: 58.12 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.005233, allocations: 19.38 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.005248, allocations: 4.062 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.005278, allocations: 37.33 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.00528, allocations: 3.984 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.005432, allocations: 53.58 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.005475, allocations: 77.11 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.0056, allocations: 197.2 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.005612, allocations: 25.95 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.005668, allocations: 146.8 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.005681, allocations: 3.938 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.005714, allocations: 23.38 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.005859, allocations: 496.1 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.005871, allocations: 3.938 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.00588, allocations: 4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.005906, allocations: 7.688 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005908, allocations: 0 / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.879e-05/0.005966, allocations: 45.59 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005979, allocations: 11.22 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005983, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005995, allocations: 4 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.00605, allocations: 3.984 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.006055, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.006078, allocations: 7.938 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.006085, allocations: 0 / 277.6 MB, free: 12.86 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 7.379e-05/0.006158, allocations: 152.6 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.006205, allocations: 41.59 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.006233, allocations: 15.8 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006235, allocations: 4.031 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006238, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006241, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.006365, allocations: 128.6 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006366, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.006389, allocations: 7.984 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00639, allocations: 0 / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006397, allocations: 3.938 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.006399, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0064, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006513, allocations: 207.5 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.006538, allocations: 11.89 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.006555, allocations: 11.92 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.006603, allocations: 0 / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.006629, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.006634, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.006693, allocations: 143.2 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006693, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000209/0.006902, allocations: 7.938 kB / 278.3 MB, free: 12.05 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 7.095e-05/0.006973, allocations: 99.28 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.522e-05/0.007048, allocations: 19.62 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007049, allocations: 0 / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.007064, allocations: 11.69 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.007354, allocations: 15.56 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.007795, allocations: 177.2 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.00784, allocations: 63.56 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.00786, allocations: 256 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.007887, allocations: 12.5 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007888, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Templates: time 0.002275/0.01016, allocations: 0.5716 MB / 279.3 MB, free: 11.03 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.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.7760865001473576]