Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001376/0.001376, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.00172/0.00172, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 47.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3288, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003467/0.3322, allocations: 1.594 MB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3334, allocations: 0.5376 MB / 434.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3335, allocations: 3.938 kB / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.3336, allocations: 3.938 kB / 434.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3337, allocations: 23.86 kB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.3341, allocations: 51.83 kB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3342, allocations: 55.7 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3344, allocations: 8.188 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3345, allocations: 31.92 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.3346, allocations: 23.86 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3346, allocations: 7.984 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.3346, allocations: 4 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.3347, allocations: 15.92 kB / 434.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.3347, allocations: 23.81 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3349, allocations: 68.88 kB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.3349, allocations: 4 kB / 434.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3349, allocations: 0 / 434.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3349, allocations: 0 / 434.8 MB, free: 4.488 MB / 334.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.0005564/0.3355, allocations: 302 kB / 435.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3355, allocations: 12.03 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3357, allocations: 16.88 kB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.336, allocations: 146.4 kB / 435.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.336, allocations: 4.312 kB / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3361, allocations: 4.375 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3364, allocations: 109.2 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3364, allocations: 0 / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3364, allocations: 4 kB / 435.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3364, allocations: 0 / 435.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3365, allocations: 19.92 kB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.3368, allocations: 236.8 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.3369, allocations: 45.16 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.337, allocations: 25.77 kB / 435.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.337, allocations: 0 / 435.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.337, allocations: 30.56 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.337, allocations: 0 / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002678/0.3373, allocations: 73.78 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.3374, allocations: 77.11 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3376, allocations: 145.8 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3376, allocations: 25.7 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3377, allocations: 84.14 kB / 436.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3377, allocations: 7.953 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3377, allocations: 13.72 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3379, allocations: 330.7 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.3379, allocations: 4 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.338, allocations: 25.7 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.338, allocations: 25.7 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.338, allocations: 0 / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.3381, allocations: 65.62 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3382, allocations: 11.94 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3382, allocations: 0 / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3382, allocations: 0 / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.3383, allocations: 7.984 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3383, allocations: 4 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.3383, allocations: 4 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3383, allocations: 0 / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001079/0.3384, allocations: 129.8 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3385, allocations: 37.59 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.3385, allocations: 15.77 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3385, allocations: 3.938 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3385, allocations: 0 / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3385, allocations: 4 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3387, allocations: 140.7 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3387, allocations: 0 / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.3388, allocations: 7.984 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3388, allocations: 4.031 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3388, allocations: 4 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3388, allocations: 0 / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3388, allocations: 0 / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.339, allocations: 164.2 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.339, allocations: 11.95 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.339, allocations: 12.02 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.3391, allocations: 0 / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3391, allocations: 0 / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3391, allocations: 4 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.3392, allocations: 109.7 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3392, allocations: 0 / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3394, allocations: 8 kB / 437.3 MB, free: 1.719 MB / 334.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.0001117/0.3395, allocations: 95.25 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3397, allocations: 27.92 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3397, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.3397, allocations: 11.98 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3401, allocations: 19.59 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.3405, allocations: 188.7 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3408, allocations: 0.6926 MB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.3409, allocations: 15.42 kB / 438.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3409, allocations: 3.938 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of Templates: time 0.002533/0.3434, allocations: 0.7546 MB / 439.1 MB, free: 15.86 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.170717029133812]