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.002391/0.002391, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002718/0.002718, allocations: 164.8 kB / 24.27 MB, free: 148 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 1.554/1.554, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.435e-06/2.435e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.465e-05, allocations: 6.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00323/0.003264, allocations: 1.579 MB / 273.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004562, allocations: 0.553 MB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.004651, allocations: 3.938 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.104e-05/0.004712, allocations: 3.938 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.004857, allocations: 7.938 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.00521, allocations: 71.61 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.005342, allocations: 43.84 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.005437, allocations: 4.188 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.005586, allocations: 39.89 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.005646, allocations: 15.92 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.005668, allocations: 7.938 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.14e-05/0.00571, allocations: 8 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.005763, allocations: 15.92 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.005799, allocations: 19.92 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006, allocations: 55.8 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.006002, allocations: 0 / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006003, allocations: 0 / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006008, allocations: 0 / 274.6 MB, free: 15.39 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.0006358/0.006643, allocations: 411.9 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.006689, allocations: 15.98 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.006873, allocations: 16.88 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.007152, allocations: 160.4 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.007162, allocations: 384 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.007174, allocations: 4.375 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.007503, allocations: 120.9 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.007513, allocations: 192 / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007524, allocations: 4.125 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.00753, allocations: 4 kB / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.814e-05/0.007598, allocations: 11.98 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.008076, allocations: 275.5 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.008198, allocations: 58.19 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.008251, allocations: 23.42 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.008272, allocations: 0 / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.008316, allocations: 45.27 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.008316, allocations: 0 / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002568/0.008573, allocations: 69.77 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.008644, allocations: 77.11 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.008838, allocations: 209.2 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.00886, allocations: 25.7 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.008964, allocations: 138.9 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.008978, allocations: 3.953 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.009019, allocations: 19.38 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.009294, allocations: 0.4923 MB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.009326, allocations: 4 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.009348, allocations: 4 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.009407, allocations: 23.8 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009409, allocations: 0 / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.009518, allocations: 57.52 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.009536, allocations: 8 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.00954, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009553, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.009609, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.009618, allocations: 4 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.009645, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.009654, allocations: 8.016 kB / 276.9 MB, free: 12.88 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 0.000133/0.009787, allocations: 160.6 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.009873, allocations: 49.53 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.009906, allocations: 7.812 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009908, allocations: 0 / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009912, allocations: 4 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.009917, allocations: 7.922 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.0102, allocations: 128.6 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.0102, allocations: 0 / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.01024, allocations: 8.031 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.01025, allocations: 0 / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01026, allocations: 7.938 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01026, allocations: 3.984 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01026, allocations: 0 / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.01051, allocations: 211.6 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.01054, allocations: 11.89 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01056, allocations: 3.938 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.01063, allocations: 11.98 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.01067, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.01067, allocations: 4.031 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.01079, allocations: 147.2 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01079, allocations: 0 / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.01099, allocations: 12 kB / 277.6 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 0.0001237/0.01112, allocations: 99.17 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01125, allocations: 23.69 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01125, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.0113, allocations: 19.67 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.01165, allocations: 27.33 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01203, allocations: 165.3 kB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.01213, allocations: 75.33 kB / 278 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.01216, allocations: 256 / 278 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01219, allocations: 12.5 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01219, allocations: 0 / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.003433/0.01562, allocations: 0.5831 MB / 278.6 MB, free: 10.99 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","/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.498608964961022]