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.001256/0.001256, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001217/0.001217, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 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 0.9682/0.9682, allocations: 177.1 MB / 206 MB, free: 4.496 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.283e-06/1.283e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.971e-05, allocations: 2.312 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002084/0.002104, allocations: 1.604 MB / 275.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.002828, allocations: 0.5512 MB / 276.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.002904, allocations: 0 / 276.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.765e-05/0.002952, allocations: 12.92 kB / 276.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.003073, allocations: 7.938 kB / 276.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003311, allocations: 67.67 kB / 276.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.003402, allocations: 44.52 kB / 276.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.003486, allocations: 12.67 kB / 276.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003595, allocations: 36.78 kB / 276.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.003635, allocations: 7.984 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.003649, allocations: 4 kB / 276.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.003682, allocations: 4.625 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.003718, allocations: 25.84 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.003735, allocations: 11.94 kB / 276.6 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003843, allocations: 55.69 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003844, allocations: 0 / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003845, allocations: 0 / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003849, allocations: 0 / 276.6 MB, free: 1.996 MB / 250.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.0003245/0.004174, allocations: 404.9 kB / 277 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.004205, allocations: 14.12 kB / 277 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.004306, allocations: 16.84 kB / 277 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.004464, allocations: 148.4 kB / 277.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.004472, allocations: 8.375 kB / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.004479, allocations: 4.375 kB / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004631, allocations: 117.6 kB / 277.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.004637, allocations: 192 / 277.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004644, allocations: 8.125 kB / 277.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004649, allocations: 0 / 277.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.4e-05/0.004663, allocations: 7.938 kB / 277.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.004842, allocations: 240.1 kB / 277.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.004891, allocations: 58.06 kB / 277.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.004905, allocations: 15.38 kB / 277.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.004917, allocations: 4.125 kB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.004935, allocations: 33.39 kB / 277.7 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004935, allocations: 0 / 277.7 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.005051, allocations: 57.52 kB / 277.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.005089, allocations: 81.05 kB / 277.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.005174, allocations: 201.1 kB / 278 MB, free: 420 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.005182, allocations: 25.95 kB / 278 MB, free: 388 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.005225, allocations: 142.9 kB / 278.2 MB, free: 240 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.005237, allocations: 3.953 kB / 278.2 MB, free: 236 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.005259, allocations: 15.38 kB / 278.2 MB, free: 212 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.005377, allocations: 0.4923 MB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.005385, allocations: 3.938 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.00539, allocations: 0 / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.00541, allocations: 11.69 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005412, allocations: 0 / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.43e-05/0.005456, allocations: 41.66 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005467, allocations: 15.97 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.005473, allocations: 7.969 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.00548, allocations: 0 / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.047e-05/0.005521, allocations: 4 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.005523, allocations: 0 / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.005536, allocations: 0 / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.00554, allocations: 0 / 278.8 MB, free: 15.61 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 5.632e-05/0.005596, allocations: 156.6 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.00563, allocations: 41.64 kB / 279 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.00565, allocations: 15.78 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005652, allocations: 0 / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005654, allocations: 4 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005657, allocations: 0 / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.765e-05/0.005744, allocations: 105.2 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005745, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.005764, allocations: 8 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005765, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.00577, allocations: 7.922 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005772, allocations: 7.984 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.005774, allocations: 3.938 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.704e-05/0.005851, allocations: 195.6 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.005876, allocations: 19.88 kB / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.005884, allocations: 0 / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.005914, allocations: 0 / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.005936, allocations: 7.938 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005938, allocations: 0 / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003032/0.006241, allocations: 147.1 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006241, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.00638, allocations: 4 kB / 279.5 MB, free: 14.84 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 6.546e-05/0.006446, allocations: 103.2 kB / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.476e-05/0.006501, allocations: 15.67 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006502, allocations: 3.938 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.006514, allocations: 11.69 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.006731, allocations: 12.31 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.007058, allocations: 169.4 kB / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.007093, allocations: 67.42 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.007112, allocations: 3.906 kB / 279.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.00716, allocations: 78.19 kB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007161, allocations: 0 / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Templates: time 0.002113/0.009273, allocations: 0.6199 MB / 280.5 MB, free: 13.7 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: 2.5630453880876303]