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.001141/0.001141, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.002861, allocations: 445.8 kB / 10.44 MB, free: 256 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.001002/0.001002, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002472, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8079/0.8079, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1261/0.9339, allocations: 52.5 MB / 238.5 MB, free: 7.609 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.523e-06/1.523e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.504e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002648/0.002663, allocations: 1.645 MB / 241.4 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.003447, allocations: 0.4928 MB / 241.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.003517, allocations: 0 / 241.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.003558, allocations: 12.53 kB / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.003633, allocations: 10.45 kB / 241.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.003836, allocations: 55.64 kB / 241.9 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.003944, allocations: 51.78 kB / 242 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.004027, allocations: 7.984 kB / 242 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004145, allocations: 39.89 kB / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.0042, allocations: 11.94 kB / 242.1 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.004224, allocations: 5.469 kB / 242.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.004235, allocations: 0 / 242.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.004274, allocations: 15.92 kB / 242.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.004298, allocations: 11.94 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.004401, allocations: 36.66 kB / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.004412, allocations: 0 / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004412, allocations: 0 / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.004424, allocations: 5.094 kB / 242.1 MB, free: 3.98 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.000387/0.004811, allocations: 284.3 kB / 242.4 MB, free: 3.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.004842, allocations: 11.16 kB / 242.4 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.004879, allocations: 16.86 kB / 242.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.005054, allocations: 141.6 kB / 242.6 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.005065, allocations: 4.375 kB / 242.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.005077, allocations: 4.312 kB / 242.6 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.00527, allocations: 115.6 kB / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.005277, allocations: 192 / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.005284, allocations: 384 / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005292, allocations: 5 kB / 242.7 MB, free: 3.348 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.005313, allocations: 11.92 kB / 242.7 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.005489, allocations: 148.2 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.69e-05/0.005536, allocations: 41.12 kB / 242.9 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.005554, allocations: 13.83 kB / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.005568, allocations: 4 kB / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.005591, allocations: 30.56 kB / 242.9 MB, free: 3.055 MB / 234.7 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.005592, allocations: 0 / 242.9 MB, free: 3.055 MB / 234.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001233/0.005715, allocations: 50.53 kB / 243 MB, free: 3 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.005757, allocations: 81.11 kB / 243.1 MB, free: 2.902 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.005852, allocations: 138.8 kB / 243.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005864, allocations: 25.7 kB / 243.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.005899, allocations: 89.91 kB / 243.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.005911, allocations: 0 / 243.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.005943, allocations: 21.66 kB / 243.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.006018, allocations: 314.8 kB / 243.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.00603, allocations: 4 kB / 243.6 MB, free: 2.289 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.006038, allocations: 4.594 kB / 243.7 MB, free: 2.285 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.006062, allocations: 9.547 kB / 243.7 MB, free: 2.273 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006064, allocations: 0 / 243.7 MB, free: 2.273 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.626e-05/0.00612, allocations: 39.66 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006132, allocations: 4 kB / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006136, allocations: 0 / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.006151, allocations: 7.938 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.006211, allocations: 1.469 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006215, allocations: 3.984 kB / 243.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.00624, allocations: 4 kB / 243.7 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006245, allocations: 0 / 243.7 MB, free: 2.211 MB / 234.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 5.629e-05/0.006301, allocations: 109.3 kB / 243.8 MB, free: 2.094 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.00635, allocations: 38.23 kB / 243.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.006381, allocations: 12.33 kB / 243.9 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006385, allocations: 7.875 kB / 243.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006386, allocations: 5.688 kB / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006389, allocations: 0 / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.006505, allocations: 73.88 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006506, allocations: 0 / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.006551, allocations: 4.5 kB / 244 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.006585, allocations: 15.88 kB / 244 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006587, allocations: 4.812 kB / 244 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.006592, allocations: 0 / 244 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006594, allocations: 5.594 kB / 244 MB, free: 1.906 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.006596, allocations: 0 / 244 MB, free: 1.906 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.006687, allocations: 140.3 kB / 244.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.006704, allocations: 4.406 kB / 244.1 MB, free: 1.746 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.006771, allocations: 4 kB / 244.1 MB, free: 1.742 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.006797, allocations: 11.94 kB / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.006801, allocations: 3.984 kB / 244.2 MB, free: 1.727 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.006835, allocations: 24.83 kB / 244.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006835, allocations: 0 / 244.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.00703, allocations: 4 kB / 244.2 MB, free: 1.695 MB / 234.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.973e-05/0.007099, allocations: 76.42 kB / 244.3 MB, free: 1.613 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.007161, allocations: 12.8 kB / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.007167, allocations: 4 kB / 244.3 MB, free: 1.594 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.007187, allocations: 12.94 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.007454, allocations: 101.4 kB / 244.4 MB, free: 1.457 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.008336, allocations: 171.5 kB / 244.6 MB, free: 1.262 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.008376, allocations: 59.34 kB / 244.6 MB, free: 1.184 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.008403, allocations: 3.984 kB / 244.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.008465, allocations: 59.59 kB / 244.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008465, allocations: 4 kB / 244.7 MB, free: 1.117 MB / 234.7 MB Notification: Performance of Templates: time 0.002457/0.01092, allocations: 0.6072 MB / 245.3 MB, free: 0.5234 MB / 234.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1824893038719893]