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 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002032/0.002032, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002373/0.002373, allocations: 207.2 kB / 19.79 MB, free: 2.586 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.607/1.607, allocations: 230.4 MB / 251.1 MB, free: 8.508 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.002301/0.002301, allocations: 67.83 kB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3564, allocations: 53.31 MB / 422.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.0038/0.3602, allocations: 1.581 MB / 423.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3615, allocations: 0.5687 MB / 424.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.3616, allocations: 0 / 424.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.782e-05/0.3617, allocations: 3.938 kB / 424.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.3619, allocations: 15.88 kB / 424.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.3623, allocations: 63.8 kB / 424.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3624, allocations: 43.84 kB / 424.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3625, allocations: 8.188 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3626, allocations: 35.78 kB / 424.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3627, allocations: 19.92 kB / 424.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.3627, allocations: 0 / 424.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.3628, allocations: 12 kB / 424.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.3628, allocations: 15.92 kB / 424.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.3629, allocations: 19.81 kB / 424.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.363, allocations: 67.25 kB / 424.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.363, allocations: 0 / 424.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.363, allocations: 3.938 kB / 424.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.363, allocations: 0 / 424.7 MB, free: 5.418 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.0006561/0.3637, allocations: 394 kB / 425.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3637, allocations: 11.97 kB / 425.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.3639, allocations: 20.89 kB / 425.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3643, allocations: 204.2 kB / 425.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3643, allocations: 4.375 kB / 425.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3643, allocations: 384 / 425.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3646, allocations: 109.2 kB / 425.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3647, allocations: 0 / 425.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3647, allocations: 8 kB / 425.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3647, allocations: 0 / 425.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.3648, allocations: 15.98 kB / 425.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.3651, allocations: 261.6 kB / 425.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.3652, allocations: 49.2 kB / 425.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.3653, allocations: 21.77 kB / 425.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3653, allocations: 4 kB / 425.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3653, allocations: 34.5 kB / 425.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3653, allocations: 0 / 425.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002772/0.3656, allocations: 65.78 kB / 425.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.3657, allocations: 89.14 kB / 426 MB, free: 3.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3658, allocations: 133.8 kB / 426.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3658, allocations: 25.7 kB / 426.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.3659, allocations: 92.12 kB / 426.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3659, allocations: 3.953 kB / 426.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.366, allocations: 17.72 kB / 426.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3661, allocations: 318.8 kB / 426.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.3662, allocations: 16 kB / 426.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.3662, allocations: 17.7 kB / 426.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.3663, allocations: 33.64 kB / 426.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3663, allocations: 0 / 426.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.3664, allocations: 57.7 kB / 426.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3664, allocations: 4 kB / 426.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3664, allocations: 7.938 kB / 426.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3665, allocations: 0 / 426.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.3665, allocations: 4 kB / 426.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3666, allocations: 7.922 kB / 426.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.3666, allocations: 4 kB / 426.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3666, allocations: 0 / 426.7 MB, free: 3.16 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.0001066/0.3667, allocations: 121.8 kB / 426.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.3668, allocations: 41.64 kB / 426.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.3668, allocations: 15.83 kB / 426.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3668, allocations: 3.938 kB / 426.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3668, allocations: 0 / 426.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3668, allocations: 0 / 426.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.367, allocations: 177.6 kB / 427 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.367, allocations: 0 / 427 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.3671, allocations: 11.98 kB / 427.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3671, allocations: 0 / 427.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3671, allocations: 8.016 kB / 427.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3671, allocations: 4 kB / 427.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3671, allocations: 3.938 kB / 427.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3673, allocations: 160.3 kB / 427.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.3674, allocations: 89.06 kB / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3674, allocations: 3.984 kB / 427.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.3675, allocations: 4.031 kB / 427.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3675, allocations: 4 kB / 427.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3675, allocations: 0 / 427.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.3676, allocations: 114 kB / 427.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 427.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.3678, allocations: 8 kB / 427.4 MB, free: 2.297 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.0001159/0.3679, allocations: 95.25 kB / 427.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3681, allocations: 27.92 kB / 427.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3681, allocations: 0 / 427.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.3681, allocations: 7.984 kB / 427.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3685, allocations: 15.97 kB / 427.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3689, allocations: 171.3 kB / 427.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3692, allocations: 0.6926 MB / 428.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.3693, allocations: 3.984 kB / 428.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.3693, allocations: 15.38 kB / 428.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3693, allocations: 0 / 428.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Templates: time 0.003668/0.373, allocations: 0.5256 MB / 429 MB, free: 0.6914 MB / 334.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches