Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.581/1.581, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.83 kB / 378.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003398/0.327, allocations: 1.59 MB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3282, allocations: 0.5454 MB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3283, allocations: 0 / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.989e-05/0.3283, allocations: 7.875 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.3285, allocations: 11.92 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3289, allocations: 55.81 kB / 434.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.329, allocations: 47.8 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3291, allocations: 16.16 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3292, allocations: 31.86 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.3293, allocations: 15.88 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3293, allocations: 4 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.3294, allocations: 15.98 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3294, allocations: 15.92 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3295, allocations: 27.8 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3296, allocations: 61.23 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3296, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3297, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3297, allocations: 0 / 434.5 MB, free: 4.934 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.0006026/0.3303, allocations: 383 kB / 434.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3303, allocations: 8.031 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3305, allocations: 28.81 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3308, allocations: 192.3 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3308, allocations: 4.312 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3309, allocations: 4.375 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.3312, allocations: 117.1 kB / 435.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3312, allocations: 3.938 kB / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3312, allocations: 0 / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3312, allocations: 0 / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.3313, allocations: 19.98 kB / 435.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3317, allocations: 261.7 kB / 435.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3318, allocations: 45.22 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.3319, allocations: 21.77 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3319, allocations: 0 / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3319, allocations: 38.5 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3319, allocations: 4 kB / 435.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.3322, allocations: 61.62 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.3323, allocations: 85.05 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3324, allocations: 145.1 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3324, allocations: 25.7 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.3325, allocations: 92.08 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3325, allocations: 4.203 kB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3326, allocations: 21.72 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3327, allocations: 318.8 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.3328, allocations: 8 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.3328, allocations: 21.7 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.3329, allocations: 37.7 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3329, allocations: 0 / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.333, allocations: 53.64 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3331, allocations: 4 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3331, allocations: 0 / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3331, allocations: 0 / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3332, allocations: 11.98 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3332, allocations: 3.938 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.3332, allocations: 4.062 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3332, allocations: 4 kB / 436.5 MB, free: 2.68 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.0001161/0.3333, allocations: 121.8 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.3334, allocations: 37.66 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.3334, allocations: 11.83 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3334, allocations: 4 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3334, allocations: 7.984 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3334, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3337, allocations: 173.5 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3337, allocations: 11.97 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3337, allocations: 4 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3337, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3337, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3337, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3337, allocations: 3.984 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3339, allocations: 172.2 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.334, allocations: 89.05 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.334, allocations: 4 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.3341, allocations: 0 / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3341, allocations: 0 / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3341, allocations: 7.984 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.3342, allocations: 107.3 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3345, allocations: 4 kB / 437.2 MB, free: 1.832 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.0001321/0.3346, allocations: 103.3 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3348, allocations: 23.92 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3348, allocations: 4 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.3348, allocations: 4 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3352, allocations: 25.34 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.3356, allocations: 197.4 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.336, allocations: 0.6885 MB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.336, allocations: 7.438 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.336, allocations: 0 / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Templates: time 0.002564/0.3386, allocations: 0.7472 MB / 439 MB, free: 15.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.30409858096391]