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.SuperSample.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.001856/0.001856, allocations: 119.3 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.001878/0.001878, allocations: 206.3 kB / 24.46 MB, free: 3.902 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.567/1.567, allocations: 230.5 MB / 258.1 MB, free: 8.145 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [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.002042/0.002042, allocations: 71.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 53.3 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003385/0.3402, allocations: 1.596 MB / 433.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3414, allocations: 0.561 MB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3415, allocations: 3.938 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.3416, allocations: 7.938 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3417, allocations: 19.86 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.3421, allocations: 55.81 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3422, allocations: 51.78 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3423, allocations: 12.19 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3424, allocations: 27.91 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.3425, allocations: 23.8 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3425, allocations: 4 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.3426, allocations: 4 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.3426, allocations: 15.92 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.3427, allocations: 27.81 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3428, allocations: 65.22 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3428, allocations: 0 / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3429, allocations: 0 / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3429, allocations: 0 / 434.5 MB, free: 4.898 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.0006075/0.3435, allocations: 387 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3435, allocations: 12.03 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3437, allocations: 12.89 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.344, allocations: 200.2 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.344, allocations: 8.312 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.344, allocations: 4.375 kB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3444, allocations: 105.2 kB / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3444, allocations: 3.938 kB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3444, allocations: 4 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3444, allocations: 3.938 kB / 435.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.3445, allocations: 19.98 kB / 435.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.3449, allocations: 261.8 kB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.345, allocations: 45.16 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.345, allocations: 21.77 kB / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3451, allocations: 0 / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3451, allocations: 38.5 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3451, allocations: 0 / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002671/0.3454, allocations: 69.84 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.3454, allocations: 81.05 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3456, allocations: 141.1 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3456, allocations: 33.69 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.3457, allocations: 88.08 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3457, allocations: 7.953 kB / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3457, allocations: 9.719 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3459, allocations: 330.8 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.346, allocations: 4 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.346, allocations: 25.7 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.3461, allocations: 29.64 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3461, allocations: 0 / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/0.3462, allocations: 57.7 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3463, allocations: 4 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3463, allocations: 0 / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3463, allocations: 0 / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.3464, allocations: 15.98 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3464, allocations: 4 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.3464, allocations: 3.938 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3464, allocations: 0 / 436.5 MB, free: 2.645 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.0001043/0.3465, allocations: 121.8 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.3466, allocations: 41.64 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.3466, allocations: 11.83 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3466, allocations: 0 / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3466, allocations: 0 / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3466, allocations: 4 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3468, allocations: 169.6 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3468, allocations: 0 / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.3469, allocations: 11.92 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3469, allocations: 4 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3469, allocations: 4.031 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3469, allocations: 0 / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3469, allocations: 7.922 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3471, allocations: 168.2 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.3472, allocations: 93.05 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3472, allocations: 0 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.3473, allocations: 8.031 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3473, allocations: 0 / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3473, allocations: 0 / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3474, allocations: 111.2 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3474, allocations: 0 / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000217/0.3476, allocations: 4 kB / 437.2 MB, free: 1.797 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.0001154/0.3478, allocations: 95.25 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3479, allocations: 27.92 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3479, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.348, allocations: 15.98 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3483, allocations: 22.33 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.3487, allocations: 197.1 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3491, allocations: 0.6926 MB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3492, allocations: 11.44 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3492, allocations: 0 / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of Templates: time 0.002884/0.3521, allocations: 0.7482 MB / 439 MB, free: 15.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.303929915651679]