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.001867/0.001867, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002499/0.002499, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.633/1.633, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.001835/0.001835, allocations: 55.86 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3339, allocations: 53.36 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.004375/0.3383, allocations: 1.588 MB / 433.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3396, allocations: 0.5454 MB / 433.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3398, allocations: 3.938 kB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.002e-05/0.3398, allocations: 3.938 kB / 433.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.34, allocations: 15.86 kB / 433.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3404, allocations: 55.83 kB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3406, allocations: 43.84 kB / 433.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3407, allocations: 16.11 kB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3408, allocations: 31.92 kB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3409, allocations: 23.86 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3409, allocations: 0 / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.341, allocations: 8 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.341, allocations: 15.92 kB / 434 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3411, allocations: 27.8 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3413, allocations: 65.92 kB / 434 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3413, allocations: 0 / 434 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3413, allocations: 4 kB / 434.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3413, allocations: 7.875 kB / 434.1 MB, free: 4.496 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.0006138/0.3419, allocations: 302 kB / 434.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.342, allocations: 12.03 kB / 434.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.3422, allocations: 16.88 kB / 434.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.3426, allocations: 137.5 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3426, allocations: 4.375 kB / 434.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3426, allocations: 4.312 kB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.3429, allocations: 121.1 kB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3429, allocations: 0 / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3429, allocations: 0 / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3429, allocations: 0 / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3431, allocations: 27.91 kB / 434.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.3436, allocations: 240.8 kB / 434.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3437, allocations: 37.16 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.3437, allocations: 25.77 kB / 435 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3438, allocations: 0 / 435 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3438, allocations: 34.56 kB / 435 MB, free: 3.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3438, allocations: 0 / 435 MB, free: 3.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002986/0.3441, allocations: 69.56 kB / 435.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3442, allocations: 81.11 kB / 435.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3444, allocations: 142.1 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3444, allocations: 29.7 kB / 435.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.3445, allocations: 84.14 kB / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3445, allocations: 7.953 kB / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.3446, allocations: 13.72 kB / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3448, allocations: 322.8 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.3448, allocations: 11.94 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.3448, allocations: 17.7 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.3449, allocations: 33.77 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3449, allocations: 0 / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.3451, allocations: 57.58 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3451, allocations: 8 kB / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3451, allocations: 0 / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3451, allocations: 64 / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.3452, allocations: 11.98 kB / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3452, allocations: 0 / 435.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.3452, allocations: 4 kB / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3452, allocations: 0 / 435.9 MB, free: 2.453 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.0001297/0.3454, allocations: 121.8 kB / 436 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.3454, allocations: 41.59 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3455, allocations: 19.77 kB / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3455, allocations: 0 / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3455, allocations: 11.91 kB / 436.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3455, allocations: 4 kB / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3457, allocations: 140.7 kB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3457, allocations: 0 / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.3458, allocations: 7.984 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.3458, allocations: 4 kB / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.3458, allocations: 0 / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3458, allocations: 0 / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3458, allocations: 0 / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.346, allocations: 172.2 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.346, allocations: 7.953 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.346, allocations: 7.984 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.3461, allocations: 0 / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3461, allocations: 4 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3462, allocations: 4 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.3463, allocations: 113.7 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3463, allocations: 0 / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3465, allocations: 4 kB / 436.5 MB, free: 1.727 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.0001352/0.3466, allocations: 95.25 kB / 436.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3468, allocations: 19.98 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3468, allocations: 0 / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.3468, allocations: 16.05 kB / 436.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3472, allocations: 22.84 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.3476, allocations: 159.7 kB / 436.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.348, allocations: 0.6885 MB / 437.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.348, allocations: 7.984 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.3481, allocations: 7.438 kB / 437.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3481, allocations: 4.094 kB / 437.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of Templates: time 0.003827/0.3519, allocations: 0.548 MB / 438.1 MB, free: 108 kB / 334.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/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_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: 5.035211269976571]