Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0006977/0.0006977, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009407/0.001638, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006148/0.0006148, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008257/0.001441, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9764/0.9764, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08066/1.057, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.399e-05, allocations: 3.859 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001712/0.001726, allocations: 1.642 MB / 241.2 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.002246, allocations: 0.5039 MB / 241.7 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.002313, allocations: 3.938 kB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.002348, allocations: 3.938 kB / 241.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.002418, allocations: 15.92 kB / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.002589, allocations: 47.7 kB / 241.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.002682, allocations: 47.8 kB / 241.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.002761, allocations: 19.88 kB / 241.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.002849, allocations: 31.97 kB / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.002905, allocations: 23.91 kB / 241.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.002925, allocations: 0 / 241.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.002935, allocations: 4 kB / 241.9 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.002972, allocations: 11.94 kB / 241.9 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.003, allocations: 11.94 kB / 241.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003104, allocations: 35.84 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.003119, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00312, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.003136, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.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.0003799/0.003516, allocations: 284.3 kB / 242.2 MB, free: 496 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.003544, allocations: 12.03 kB / 242.2 MB, free: 484 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.00357, allocations: 12.86 kB / 242.2 MB, free: 472 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.00371, allocations: 141.6 kB / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-06/0.003716, allocations: 384 / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.003725, allocations: 4.375 kB / 242.4 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.003873, allocations: 110.3 kB / 242.5 MB, free: 168 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.003878, allocations: 4.188 kB / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.003884, allocations: 384 / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003889, allocations: 3.938 kB / 242.5 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.003904, allocations: 7.938 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.004051, allocations: 153.2 kB / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.00409, allocations: 37.16 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.004103, allocations: 9.719 kB / 242.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.00412, allocations: 8.062 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.004136, allocations: 30.56 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004137, allocations: 4 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.022e-05/0.004227, allocations: 45.56 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.004262, allocations: 81.11 kB / 242.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.004326, allocations: 137.5 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004336, allocations: 29.7 kB / 243 MB, free: 15.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.004363, allocations: 92.11 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.004374, allocations: 0 / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.004394, allocations: 17.67 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.004466, allocations: 314.8 kB / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.004472, allocations: 256 / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-06/0.004478, allocations: 8 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.495e-05/0.004493, allocations: 8.797 kB / 243.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004495, allocations: 0 / 243.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.092e-05/0.004526, allocations: 37.69 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.004535, allocations: 4 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004539, allocations: 3.938 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.004547, allocations: 3.938 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.004592, allocations: 4 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.004594, allocations: 96 / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.004606, allocations: 4 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.004612, allocations: 4 kB / 243.5 MB, free: 15.01 MB / 250.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 4.683e-05/0.004659, allocations: 116.6 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.004686, allocations: 37.64 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.004709, allocations: 15.75 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.004713, allocations: 11.92 kB / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004714, allocations: 0 / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.004718, allocations: 4 kB / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.004804, allocations: 69.89 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004805, allocations: 4.031 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.004829, allocations: 7.984 kB / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.004855, allocations: 15.89 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004856, allocations: 0 / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004861, allocations: 7.984 kB / 243.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.004863, allocations: 3.938 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004864, allocations: 0 / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7e-05/0.004934, allocations: 136.3 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.004947, allocations: 4 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.004991, allocations: 0 / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.005012, allocations: 7.969 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005016, allocations: 4 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.005041, allocations: 28.83 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005041, allocations: 0 / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.005204, allocations: 4 kB / 244 MB, free: 14.48 MB / 250.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.369e-05/0.005267, allocations: 80.41 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.136e-05/0.005319, allocations: 16.8 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.005323, allocations: 0 / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.00534, allocations: 12.92 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.005547, allocations: 28.22 kB / 244.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.006254, allocations: 163.5 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.006293, allocations: 59.34 kB / 244.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.003024/0.009317, allocations: 0 / 244.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.009369, allocations: 59.36 kB / 244.4 MB, free: 14 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009369, allocations: 0 / 244.4 MB, free: 14 MB / 250.7 MB Notification: Performance of Templates: time 0.005178/0.01455, allocations: 0.6252 MB / 245 MB, free: 13.4 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.391265739686787]