Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 78.88 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 151.2 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0.8438 kB / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.761e-05, allocations: 2.281 kB / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002654/0.002682, allocations: 1.544 MB / 320.5 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.003484, allocations: 455.9 kB / 320.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.003566, allocations: 1.656 kB / 320.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.003625, allocations: 8.812 kB / 320.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.003756, allocations: 9.016 kB / 320.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.004015, allocations: 54.27 kB / 321 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004137, allocations: 43.05 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004239, allocations: 18.17 kB / 321 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.004343, allocations: 29.53 kB / 321.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.004393, allocations: 12.42 kB / 321.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.004414, allocations: 2.938 kB / 321.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.00443, allocations: 7.719 kB / 321.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.004489, allocations: 15.91 kB / 321.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.004519, allocations: 12.56 kB / 321.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.004653, allocations: 50.78 kB / 321.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004656, allocations: 13.19 kB / 321.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004657, allocations: 0 / 321.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004661, allocations: 0 / 321.2 MB, free: 2.109 MB / 286.1 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.000451/0.005112, allocations: 301.2 kB / 321.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.005161, allocations: 10.2 kB / 321.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.005203, allocations: 9.453 kB / 321.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.005476, allocations: 139.4 kB / 321.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.005498, allocations: 2.688 kB / 321.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.005515, allocations: 7.5 kB / 321.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.005822, allocations: 113.5 kB / 321.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005832, allocations: 1.438 kB / 321.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005841, allocations: 384 / 321.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.00585, allocations: 5 kB / 321.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.005935, allocations: 22.56 kB / 321.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.006265, allocations: 204.7 kB / 322 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.006364, allocations: 51.55 kB / 322 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.006415, allocations: 21.44 kB / 322 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.006441, allocations: 1.406 kB / 322 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.006469, allocations: 41.06 kB / 322.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.00647, allocations: 0 / 322.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002622/0.006732, allocations: 67.84 kB / 322.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.006791, allocations: 78.39 kB / 322.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.006925, allocations: 136.5 kB / 322.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006936, allocations: 30.92 kB / 322.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.006992, allocations: 92.03 kB / 322.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.00701, allocations: 0.75 kB / 322.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.007046, allocations: 17.84 kB / 322.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.007125, allocations: 317.5 kB / 322.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.007172, allocations: 10.94 kB / 322.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.007203, allocations: 5.828 kB / 322.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.00728, allocations: 21.47 kB / 322.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007282, allocations: 4.062 kB / 322.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.007389, allocations: 48.39 kB / 322.9 MB, free: 472 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.00741, allocations: 8.688 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007416, allocations: 1.125 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.007436, allocations: 0.5625 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.007513, allocations: 3.859 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.007522, allocations: 1.734 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.007557, allocations: 3.188 kB / 322.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007565, allocations: 0 / 322.9 MB, free: 468 kB / 286.1 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 9.307e-05/0.007659, allocations: 124.4 kB / 323 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.00772, allocations: 46.73 kB / 323.1 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.007758, allocations: 12.75 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007761, allocations: 1.031 kB / 323.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.007768, allocations: 5.109 kB / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007772, allocations: 0 / 323.1 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.007912, allocations: 115.6 kB / 323.2 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.007914, allocations: 1.031 kB / 323.2 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.007961, allocations: 6.266 kB / 323.2 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007964, allocations: 0.6094 kB / 323.2 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.007974, allocations: 9.125 kB / 323.2 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.007978, allocations: 5.922 kB / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007979, allocations: 0 / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.008186, allocations: 158.9 kB / 323.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.008236, allocations: 19.72 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.008262, allocations: 9.719 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.00833, allocations: 3.156 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.008381, allocations: 2.391 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008385, allocations: 1.219 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.008507, allocations: 113.4 kB / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.008507, allocations: 0.9688 kB / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.008723, allocations: 4.375 kB / 323.5 MB, free: 15.88 MB / 302.1 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.0001263/0.008849, allocations: 95.27 kB / 323.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.009014, allocations: 23.2 kB / 323.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009016, allocations: 1.406 kB / 323.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.00906, allocations: 7.688 kB / 323.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.009434, allocations: 18.06 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.00992, allocations: 161.5 kB / 323.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01003, allocations: 73.31 kB / 323.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.01007, allocations: 5 kB / 323.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.0101, allocations: 10.66 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01011, allocations: 1.188 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Templates: time 0.003917/0.01402, allocations: 0.5637 MB / 324.5 MB, free: 15.46 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.2663167752325535]