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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.483/1.483, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB 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.002033/0.002033, allocations: 63.89 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 50.55 MB / 409.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002866/0.3282, allocations: 1.55 MB / 411.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.3292, allocations: 0.5336 MB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.3293, allocations: 4 kB / 411.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.3294, allocations: 7.875 kB / 411.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3296, allocations: 3.938 kB / 411.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3299, allocations: 59.81 kB / 411.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.33, allocations: 51.78 kB / 411.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3301, allocations: 16.17 kB / 411.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3302, allocations: 27.92 kB / 411.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3303, allocations: 19.86 kB / 411.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3303, allocations: 7.938 kB / 411.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.3304, allocations: 15.92 kB / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.3304, allocations: 15.92 kB / 411.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.3305, allocations: 23.81 kB / 411.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3306, allocations: 63.53 kB / 411.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3306, allocations: 0 / 411.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3307, allocations: 4 kB / 412 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3307, allocations: 0 / 412 MB, free: 15.02 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.000485/0.3312, allocations: 379.1 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3312, allocations: 8.031 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3314, allocations: 20.88 kB / 412.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3316, allocations: 192.3 kB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3316, allocations: 4.375 kB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3316, allocations: 12.3 kB / 412.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3319, allocations: 117.1 kB / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3319, allocations: 0 / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3319, allocations: 0 / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.332, allocations: 4 kB / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.332, allocations: 19.92 kB / 412.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.3324, allocations: 265.7 kB / 413 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.3325, allocations: 53.14 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3325, allocations: 21.78 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3326, allocations: 4 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3326, allocations: 38.48 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3326, allocations: 0 / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002311/0.3328, allocations: 57.64 kB / 413.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3329, allocations: 89.3 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3331, allocations: 144.4 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3331, allocations: 25.7 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.3331, allocations: 88.14 kB / 413.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.3332, allocations: 7.938 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3332, allocations: 17.72 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3333, allocations: 314.8 kB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.3334, allocations: 15.98 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.3334, allocations: 17.72 kB / 413.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.3335, allocations: 29.7 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3335, allocations: 0 / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.3336, allocations: 61.56 kB / 413.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3337, allocations: 8.125 kB / 413.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3337, allocations: 4 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3337, allocations: 0 / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.3337, allocations: 4 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3338, allocations: 0 / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.3338, allocations: 7.938 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3338, allocations: 3.984 kB / 413.9 MB, free: 12.77 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 8.251e-05/0.3339, allocations: 121.7 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.334, allocations: 41.66 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.334, allocations: 19.81 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.334, allocations: 0 / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.334, allocations: 0 / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.334, allocations: 0 / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3342, allocations: 173.6 kB / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3342, allocations: 0 / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.3343, allocations: 4 kB / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3343, allocations: 3.938 kB / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3343, allocations: 3.984 kB / 414.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3343, allocations: 4 kB / 414.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3343, allocations: 4.031 kB / 414.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3345, allocations: 156.2 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.3346, allocations: 97.05 kB / 414.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3346, allocations: 4 kB / 414.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.3347, allocations: 3.984 kB / 414.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.3347, allocations: 8.031 kB / 414.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3347, allocations: 0 / 414.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.3348, allocations: 107.2 kB / 414.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3348, allocations: 0 / 414.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000209/0.335, allocations: 12 kB / 414.7 MB, free: 11.91 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 9.461e-05/0.3351, allocations: 91.25 kB / 414.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.3352, allocations: 27.98 kB / 414.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3353, allocations: 4.062 kB / 414.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-05/0.3353, allocations: 4 kB / 414.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3356, allocations: 21.27 kB / 414.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.3359, allocations: 163.4 kB / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3362, allocations: 0.6885 MB / 415.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.3363, allocations: 8.141 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.3363, allocations: 11.44 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.3363, allocations: 0 / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Templates: time 0.002925/0.3393, allocations: 0.5293 MB / 416.2 MB, free: 10.31 MB / 334.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches