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.001295/0.001295, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001307/0.001307, allocations: 156.5 kB / 24.55 MB, free: 16 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.9762/0.9762, allocations: 177 MB / 204.8 MB, free: 5.254 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 2.104e-06/2.104e-06, allocations: 0 / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.069e-05, allocations: 2.312 kB / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002989/0.00302, allocations: 1.621 MB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.004099, allocations: 0.5452 MB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.0042, allocations: 4 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.957e-05/0.00426, allocations: 3.938 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.004431, allocations: 23.84 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.00482, allocations: 55.75 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.004944, allocations: 51.73 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005058, allocations: 16.16 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005218, allocations: 31.92 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.005274, allocations: 15.97 kB / 275.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.005294, allocations: 4 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.005337, allocations: 4 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.005389, allocations: 15.92 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.005418, allocations: 19.94 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.005574, allocations: 43.77 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.005578, allocations: 0 / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005579, allocations: 0 / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005584, allocations: 0 / 275.3 MB, free: 14.85 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.0004617/0.006045, allocations: 416.2 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.006093, allocations: 11.98 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.006249, allocations: 16.89 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006463, allocations: 148.4 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.006478, allocations: 12.38 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.006491, allocations: 384 / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.006773, allocations: 117.6 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006785, allocations: 4.188 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006797, allocations: 4.125 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.006806, allocations: 0 / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.006835, allocations: 7.938 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.007175, allocations: 267.5 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.007243, allocations: 54.12 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.007274, allocations: 23.36 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.007304, allocations: 4.062 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.007333, allocations: 37.33 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.007335, allocations: 0 / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.007511, allocations: 49.58 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.007568, allocations: 85.11 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.007708, allocations: 193.6 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.007719, allocations: 29.7 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.007782, allocations: 138.8 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.007801, allocations: 3.984 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.00784, allocations: 23.31 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.007967, allocations: 496.1 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.007981, allocations: 0 / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.007991, allocations: 7.938 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.008019, allocations: 7.688 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008022, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.652e-05/0.008088, allocations: 53.64 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008104, allocations: 4 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.008111, allocations: 7.984 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.008129, allocations: 0 / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.008197, allocations: 0 / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.008202, allocations: 3.938 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.008227, allocations: 7.984 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.008232, allocations: 0 / 277.5 MB, free: 12.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 7.259e-05/0.008305, allocations: 152.6 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.00836, allocations: 41.59 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.008396, allocations: 19.86 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008398, allocations: 0 / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.008404, allocations: 4 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008406, allocations: 0 / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.008538, allocations: 128.6 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.00854, allocations: 0 / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.008576, allocations: 4 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.00858, allocations: 3.984 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008589, allocations: 3.938 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008592, allocations: 4 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.008595, allocations: 3.938 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.008728, allocations: 203.6 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.00876, allocations: 11.89 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008776, allocations: 7.938 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.008826, allocations: 0 / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.008858, allocations: 3.984 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.008863, allocations: 4 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.008928, allocations: 143.2 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008928, allocations: 0 / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.009153, allocations: 4 kB / 278.3 MB, free: 11.61 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.0001006/0.009254, allocations: 103.3 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.009356, allocations: 15.62 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009358, allocations: 0 / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.009376, allocations: 15.62 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.00975, allocations: 16.3 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.01037, allocations: 185.4 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.01042, allocations: 59.34 kB / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.01045, allocations: 256 / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.01049, allocations: 12.5 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01049, allocations: 0 / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.00283/0.01332, allocations: 0.5777 MB / 279.2 MB, free: 10.57 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.7898858510889113]