Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.925e-05, allocations: 6.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003054/0.003084, allocations: 1.618 MB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.004154, allocations: 0.5569 MB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.004249, allocations: 3.938 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.004307, allocations: 3.938 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.00446, allocations: 11.88 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.004806, allocations: 59.75 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.004923, allocations: 51.77 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005028, allocations: 12.19 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.005175, allocations: 35.89 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.005229, allocations: 11.98 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.005249, allocations: 4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.005296, allocations: 8 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.005347, allocations: 11.94 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.005376, allocations: 15.92 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.005526, allocations: 55.69 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.00553, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005531, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005536, allocations: 0 / 275.4 MB, free: 15.07 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.0004825/0.006019, allocations: 404.3 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.006065, allocations: 15.97 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.006229, allocations: 20.88 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.006443, allocations: 148.4 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.006453, allocations: 384 / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.00647, allocations: 8.312 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.006735, allocations: 121.6 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.006746, allocations: 192 / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006756, allocations: 8.125 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006765, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.006791, allocations: 7.984 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.007096, allocations: 263.5 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.007159, allocations: 58.06 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.007187, allocations: 19.5 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.007208, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.007242, allocations: 45.27 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007242, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.007412, allocations: 57.58 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.007457, allocations: 77.11 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.007583, allocations: 201.2 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.007595, allocations: 25.7 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.007652, allocations: 134.8 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.007669, allocations: 4 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.007702, allocations: 19.38 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.007845, allocations: 0.4884 MB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.007859, allocations: 0 / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.00787, allocations: 4.25 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.007903, allocations: 15.75 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.007906, allocations: 4 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.447e-05/0.007981, allocations: 45.53 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.007997, allocations: 4 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.008005, allocations: 7.922 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.008025, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.008107, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.008112, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.008133, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.00814, allocations: 4.031 kB / 277.6 MB, free: 12.64 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 8.398e-05/0.008224, allocations: 156.6 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.008287, allocations: 45.58 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.008324, allocations: 7.812 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008326, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.008331, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.008336, allocations: 7.922 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.00848, allocations: 132.5 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008481, allocations: 0 / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.008514, allocations: 4 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.008518, allocations: 8.031 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.008527, allocations: 3.938 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008528, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.008529, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008665, allocations: 199.6 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.0087, allocations: 19.94 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.008714, allocations: 3.938 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.008766, allocations: 4 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.008798, allocations: 3.938 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.008801, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.008867, allocations: 151.2 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008867, allocations: 0 / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000225/0.009092, allocations: 4 kB / 278.3 MB, free: 11.82 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.0001035/0.009196, allocations: 99.25 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.009281, allocations: 11.69 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009283, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.009298, allocations: 7.688 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.009624, allocations: 23.38 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.01014, allocations: 173.3 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.01019, allocations: 59.34 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.01021, allocations: 4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.01024, allocations: 12.44 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01024, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002686/0.01293, allocations: 0.5777 MB / 279.3 MB, free: 10.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.061417032033205]