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.00141/0.00141, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001421/0.001421, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 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.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.924e-06/1.924e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.295e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.004436/0.004469, allocations: 1.557 MB / 268.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.005704, allocations: 466.5 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.005805, allocations: 4 kB / 269.3 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.674e-05/0.005872, allocations: 7.875 kB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.006022, allocations: 3.938 kB / 269.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.006354, allocations: 43.83 kB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.006499, allocations: 51.78 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006612, allocations: 23.88 kB / 269.5 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.006732, allocations: 23.97 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.006802, allocations: 15.92 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.006829, allocations: 4 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.006846, allocations: 4 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.115e-05/0.006907, allocations: 15.92 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.006957, allocations: 15.92 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.007141, allocations: 55.73 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007145, allocations: 0 / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007146, allocations: 0 / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.007151, allocations: 0 / 269.6 MB, free: 4.445 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.0005909/0.007742, allocations: 298.1 kB / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.007788, allocations: 12.92 kB / 269.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.007848, allocations: 8.891 kB / 269.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.008203, allocations: 141.6 kB / 270 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.008215, allocations: 384 / 270 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.00823, allocations: 4.375 kB / 270 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.008591, allocations: 109.6 kB / 270.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008602, allocations: 4.172 kB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.008612, allocations: 384 / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.008623, allocations: 7.938 kB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.00873, allocations: 15.92 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.009115, allocations: 209.4 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.009225, allocations: 45.14 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.009289, allocations: 21.77 kB / 270.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.009312, allocations: 8 kB / 270.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.009348, allocations: 34.5 kB / 270.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.009349, allocations: 0 / 270.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.009627, allocations: 73.56 kB / 270.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.009704, allocations: 81.05 kB / 270.6 MB, free: 3.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.009861, allocations: 138.2 kB / 270.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.009882, allocations: 25.7 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.00996, allocations: 88.12 kB / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.009977, allocations: 4.25 kB / 270.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.01002, allocations: 21.67 kB / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.0102, allocations: 314.8 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.01025, allocations: 11.98 kB / 271.2 MB, free: 2.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.01027, allocations: 4 kB / 271.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.01035, allocations: 16.84 kB / 271.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01035, allocations: 0 / 271.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.01048, allocations: 49.69 kB / 271.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.0105, allocations: 15.97 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.0105, allocations: 0 / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01052, allocations: 3.984 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.01059, allocations: 4 kB / 271.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.0106, allocations: 0 / 271.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.01063, allocations: 4 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01064, allocations: 0 / 271.3 MB, free: 2.496 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 0.0001039/0.01074, allocations: 117.8 kB / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.01082, allocations: 41.59 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.01086, allocations: 19.8 kB / 271.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01087, allocations: 0 / 271.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01087, allocations: 3.984 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.01087, allocations: 0 / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.01104, allocations: 117.3 kB / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.01105, allocations: 8 kB / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.0111, allocations: 4 kB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.0111, allocations: 0 / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01111, allocations: 15.8 kB / 271.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01111, allocations: 0 / 271.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01112, allocations: 4 kB / 271.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01132, allocations: 156.4 kB / 271.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.01136, allocations: 15.94 kB / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01138, allocations: 7.938 kB / 271.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.01145, allocations: 0 / 271.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01148, allocations: 0 / 271.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01149, allocations: 7.984 kB / 271.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.377e-05/0.01158, allocations: 106.4 kB / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01158, allocations: 0 / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01181, allocations: 4 kB / 271.9 MB, free: 1.816 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 0.0001132/0.01193, allocations: 103.2 kB / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.01207, allocations: 23.97 kB / 272.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01207, allocations: 0 / 272.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.01211, allocations: 4 kB / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.0125, allocations: 24.17 kB / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01293, allocations: 164.8 kB / 272.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.01302, allocations: 79.55 kB / 272.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.01306, allocations: 0 / 272.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.0131, allocations: 12.5 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0131, allocations: 0 / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of Templates: time 0.003447/0.01654, allocations: 0.5793 MB / 272.9 MB, free: 0.7891 MB / 250.7 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.1019704029895365]