Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001/0.001, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.00234, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001104/0.001104, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002508, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9534/0.9534, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08018/1.034, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.97e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001947/0.001966, allocations: 1.665 MB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.002669, allocations: 0.5654 MB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.002743, allocations: 3.938 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.00278, allocations: 3.938 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.002847, allocations: 11.88 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.003028, allocations: 55.75 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.003114, allocations: 51.78 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.003187, allocations: 16.17 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.003297, allocations: 43.83 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.003343, allocations: 15.92 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.003357, allocations: 4 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.003412, allocations: 8 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.003442, allocations: 11.94 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.00346, allocations: 11.94 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003563, allocations: 47.77 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.003574, allocations: 0 / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003575, allocations: 0 / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.003586, allocations: 4 kB / 247 MB, free: 11.81 MB / 250.7 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.0003321/0.003918, allocations: 284.2 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.003946, allocations: 12.03 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.004083, allocations: 94.03 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.004227, allocations: 148.3 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-06/0.004233, allocations: 384 / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.004243, allocations: 16.25 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.004391, allocations: 110.3 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.004396, allocations: 192 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.004403, allocations: 4.125 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004408, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.004422, allocations: 4 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.004566, allocations: 153.2 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.712e-05/0.004603, allocations: 37.16 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.004616, allocations: 13.72 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.004633, allocations: 8.047 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004652, allocations: 34.5 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004653, allocations: 0 / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001022/0.004755, allocations: 49.62 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.004789, allocations: 81.05 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.004865, allocations: 134.6 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.004873, allocations: 25.7 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.004901, allocations: 88.12 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.004915, allocations: 8.188 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.004937, allocations: 21.72 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.004999, allocations: 314.8 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-06/0.005006, allocations: 4 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.005011, allocations: 0 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/0.005029, allocations: 12.86 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005031, allocations: 0 / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.489e-05/0.005066, allocations: 37.62 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.005076, allocations: 4 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005081, allocations: 7.938 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.005088, allocations: 4.094 kB / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.005136, allocations: 0 / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-06/0.005138, allocations: 0 / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.00515, allocations: 4 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.005154, allocations: 0 / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.592e-05/0.0052, allocations: 116.6 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.005225, allocations: 33.7 kB / 248.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.005248, allocations: 15.73 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.00525, allocations: 4 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005251, allocations: 3.938 kB / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.005253, allocations: 4.031 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.276e-05/0.005326, allocations: 73.83 kB / 248.9 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005327, allocations: 0 / 248.9 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.005346, allocations: 4 kB / 248.9 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.005371, allocations: 15.94 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.005373, allocations: 3.984 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.005377, allocations: 0 / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005378, allocations: 3.938 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.00538, allocations: 4 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.817e-05/0.005438, allocations: 136.4 kB / 249.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005446, allocations: 4.031 kB / 249.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.005474, allocations: 4 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.005493, allocations: 3.938 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005496, allocations: 0 / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.005517, allocations: 31.52 kB / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005517, allocations: 4 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001036/0.005621, allocations: 4 kB / 249.2 MB, free: 9.402 MB / 250.7 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 6.117e-05/0.005682, allocations: 76.41 kB / 249.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.005737, allocations: 20.86 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.00574, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.00575, allocations: 4.859 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.005921, allocations: 27.86 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.006501, allocations: 171.5 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.006534, allocations: 59.34 kB / 249.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.006553, allocations: 4.219 kB / 249.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.006604, allocations: 59.36 kB / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.006605, allocations: 0 / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of Templates: time 0.001924/0.008529, allocations: 0.612 MB / 250.2 MB, free: 8.324 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5968407038599253]