Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001303/0.001303, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001522/0.001522, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.89 kB / 378.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 53.35 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003213/0.3271, allocations: 1.59 MB / 433.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3282, allocations: 0.5415 MB / 434.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.3283, allocations: 7.875 kB / 434.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.179e-05/0.3284, allocations: 11.92 kB / 434.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.3285, allocations: 11.92 kB / 434.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.3289, allocations: 59.81 kB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.329, allocations: 43.8 kB / 434.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3291, allocations: 16.17 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3292, allocations: 27.86 kB / 434.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3293, allocations: 23.86 kB / 434.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3293, allocations: 4 kB / 434.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.3294, allocations: 8 kB / 434.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3294, allocations: 15.92 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.3294, allocations: 31.8 kB / 434.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3297, allocations: 57.38 kB / 434.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3297, allocations: 4 kB / 434.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3297, allocations: 0 / 434.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3297, allocations: 0 / 434.5 MB, free: 4.637 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.000522/0.3302, allocations: 301.9 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3303, allocations: 12.03 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.3305, allocations: 16.88 kB / 434.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3307, allocations: 149.1 kB / 435 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.3308, allocations: 4.312 kB / 435 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3308, allocations: 8.375 kB / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3311, allocations: 105.2 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3311, allocations: 4 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3311, allocations: 0 / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3311, allocations: 0 / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.3312, allocations: 19.98 kB / 435.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3317, allocations: 240.7 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.3318, allocations: 45.2 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.3319, allocations: 17.78 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3319, allocations: 3.938 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3319, allocations: 30.56 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3319, allocations: 0 / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002808/0.3322, allocations: 77.66 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3323, allocations: 77.11 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3324, allocations: 141.8 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3324, allocations: 25.7 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.3325, allocations: 88.14 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3325, allocations: 7.953 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3326, allocations: 13.7 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3327, allocations: 326.9 kB / 436.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.3328, allocations: 7.984 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.3328, allocations: 21.66 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.3329, allocations: 33.64 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3329, allocations: 4.062 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.333, allocations: 57.64 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3331, allocations: 4 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3331, allocations: 3.984 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3331, allocations: 0 / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.3332, allocations: 7.938 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3332, allocations: 7.984 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.3332, allocations: 0 / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3332, allocations: 3.984 kB / 436.4 MB, free: 2.582 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.0001068/0.3333, allocations: 129.8 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3334, allocations: 37.66 kB / 436.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.3334, allocations: 15.75 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3334, allocations: 3.938 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3334, allocations: 0 / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3334, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3336, allocations: 140.7 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3336, allocations: 0 / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3336, allocations: 12.03 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3336, allocations: 0 / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3337, allocations: 3.938 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3337, allocations: 0 / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3337, allocations: 0 / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3338, allocations: 164.3 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.3339, allocations: 23.95 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3339, allocations: 4 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.334, allocations: 0 / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.334, allocations: 0 / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.334, allocations: 4 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.3341, allocations: 110 kB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000213/0.3343, allocations: 4 kB / 437 MB, free: 1.863 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.0001251/0.3344, allocations: 103.2 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.3346, allocations: 23.97 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3346, allocations: 0 / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.3346, allocations: 8 kB / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.3349, allocations: 23.89 kB / 437.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.3353, allocations: 168 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3357, allocations: 0.6924 MB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.3357, allocations: 4 kB / 438 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.3357, allocations: 11.44 kB / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3357, allocations: 0 / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Templates: time 0.003285/0.339, allocations: 0.5366 MB / 438.6 MB, free: 252 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.6937929429113865]