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.001113/0.001113, allocations: 88.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.005007/0.005007, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8672/0.8672, allocations: 177 MB / 204.9 MB, free: 5.727 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.423e-06/1.423e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.629e-05, allocations: 7.062 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001921/0.001937, allocations: 1.56 MB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.002641, allocations: 0.5452 MB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.002715, allocations: 7.875 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.002758, allocations: 7.922 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.002878, allocations: 11.88 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.003126, allocations: 59.75 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.003222, allocations: 47.78 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.003314, allocations: 20.17 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003418, allocations: 27.95 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.003462, allocations: 11.94 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.003477, allocations: 4 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-05/0.003513, allocations: 7.984 kB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.003553, allocations: 15.94 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.003577, allocations: 19.91 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.003717, allocations: 63.67 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003719, allocations: 0 / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00372, allocations: 4 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003724, allocations: 4 kB / 328.2 MB, free: 12.96 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.0003393/0.004063, allocations: 294 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004098, allocations: 15.98 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.004202, allocations: 16.88 kB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.004665, allocations: 141.5 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.004674, allocations: 4.375 kB / 328.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.004683, allocations: 4.375 kB / 328.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.004889, allocations: 117.6 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.004896, allocations: 192 / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.004905, allocations: 4.125 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.00491, allocations: 7.922 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.004952, allocations: 19.98 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.005171, allocations: 201.5 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.005226, allocations: 45.16 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.005253, allocations: 21.77 kB / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.005269, allocations: 0 / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005289, allocations: 42.5 kB / 329.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.00529, allocations: 0 / 329.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001553/0.005445, allocations: 65.56 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.005487, allocations: 81.11 kB / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.005583, allocations: 148.5 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.005592, allocations: 33.94 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.005629, allocations: 88.14 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.005642, allocations: 3.953 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.005665, allocations: 13.72 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.005736, allocations: 318.8 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.005756, allocations: 8 kB / 329.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.005772, allocations: 7.938 kB / 329.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.005814, allocations: 20.84 kB / 329.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005816, allocations: 0 / 329.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.632e-05/0.005882, allocations: 61.62 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005894, allocations: 8 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005898, allocations: 0 / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.005912, allocations: 3.938 kB / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.005963, allocations: 4 kB / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005968, allocations: 0 / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.005982, allocations: 0 / 329.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00599, allocations: 3.984 kB / 329.9 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 6.159e-05/0.006051, allocations: 113.8 kB / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.006088, allocations: 49.56 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.006115, allocations: 15.75 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006116, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00612, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006123, allocations: 0 / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.885e-05/0.006222, allocations: 113.3 kB / 330.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.006224, allocations: 0 / 330.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.006245, allocations: 11.98 kB / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006247, allocations: 0 / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.006255, allocations: 3.938 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006255, allocations: 4.031 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006257, allocations: 3.938 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.006363, allocations: 160.3 kB / 330.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.006392, allocations: 19.89 kB / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006403, allocations: 3.938 kB / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.006444, allocations: 7.984 kB / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.00647, allocations: 0 / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.006474, allocations: 0 / 330.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.006528, allocations: 115.2 kB / 330.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006528, allocations: 32 / 330.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.006664, allocations: 8 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 6.735e-05/0.006732, allocations: 91.25 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.006817, allocations: 27.92 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006818, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.006837, allocations: 8 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.0002365/0.007074, allocations: 26.33 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.0002619/0.007336, allocations: 191.4 kB / 330.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.923e-05/0.007395, allocations: 79.08 kB / 331 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.007426, allocations: 8.5 kB / 331 MB, free: 9.82 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007427, allocations: 0 / 331 MB, free: 9.82 MB / 298.7 MB Notification: Performance of Templates: time 0.001632/0.009059, allocations: 0.7484 MB / 331.7 MB, free: 9.078 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.201012401841581]