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.001383/0.001383, 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.001544/0.001544, allocations: 156.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 0.9351/0.9351, allocations: 177 MB / 204.8 MB, free: 5.598 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.473e-06/1.473e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.497e-05, allocations: 5.266 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002064/0.002089, allocations: 1.611 MB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.00289, allocations: 0.5529 MB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.002973, allocations: 4 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.608e-05/0.003029, allocations: 3.938 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.003171, allocations: 15.86 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.003477, allocations: 55.77 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.003576, allocations: 55.7 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.003672, allocations: 12.19 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.003824, allocations: 35.95 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.003877, allocations: 11.92 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003896, allocations: 4 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.003938, allocations: 8 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.003978, allocations: 15.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.004005, allocations: 11.94 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.004137, allocations: 47.75 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004141, allocations: 8 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004142, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004148, allocations: 4 kB / 275.4 MB, free: 15 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.0004211/0.004569, allocations: 404.2 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.004612, allocations: 15.98 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.004753, allocations: 16.88 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.004936, allocations: 149.4 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.004947, allocations: 4.375 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004966, allocations: 8.359 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.005197, allocations: 125.6 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005204, allocations: 192 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.005213, allocations: 4.125 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.005219, allocations: 0 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.00524, allocations: 7.938 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.005495, allocations: 263.5 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.005548, allocations: 54.06 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.00557, allocations: 19.5 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.005585, allocations: 4 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005609, allocations: 45.31 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.00561, allocations: 0 / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.005746, allocations: 45.59 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.005786, allocations: 81.11 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.005883, allocations: 196.6 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005894, allocations: 33.7 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.005949, allocations: 138.8 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.005963, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.00599, allocations: 19.62 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.006105, allocations: 0.4961 MB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.006118, allocations: 4 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.006125, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.006149, allocations: 11.69 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006152, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.976e-05/0.006201, allocations: 41.58 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.006216, allocations: 11.12 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00622, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006233, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.006292, allocations: 4.094 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.006299, allocations: 7.938 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.006314, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006319, allocations: 0 / 277.5 MB, free: 12.58 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 6.428e-05/0.006384, allocations: 160.6 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.006419, allocations: 45.53 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.006446, allocations: 11.81 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006448, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006451, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006456, allocations: 4 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.006822, allocations: 132.6 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006823, allocations: 0 / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.006855, allocations: 8 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006857, allocations: 0 / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.006865, allocations: 7.938 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006866, allocations: 0 / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006867, allocations: 0 / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/0.006964, allocations: 199.5 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.006994, allocations: 23.88 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.007005, allocations: 3.938 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.031e-05/0.007035, allocations: 4.031 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.007062, allocations: 4 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007066, allocations: 3.984 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.007119, allocations: 143.2 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007119, allocations: 4 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.007252, allocations: 4 kB / 278.3 MB, free: 11.76 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.291e-05/0.007325, allocations: 91.25 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.007406, allocations: 19.61 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007408, allocations: 4.062 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.007422, allocations: 11.69 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.007683, allocations: 15.58 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.008166, allocations: 173.2 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.008204, allocations: 59.34 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.008229, allocations: 4.25 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.008261, allocations: 20.64 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008262, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.00237/0.01063, allocations: 0.6004 MB / 279.3 MB, free: 10.71 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.628431519959122]