Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0017/0.0017, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001986/0.001986, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.653/1.653, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002605/0.002605, allocations: 68.77 kB / 379 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3576, allocations: 53.38 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00448/0.362, allocations: 1.921 MB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.3648, allocations: 1.329 MB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.365, allocations: 3.938 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.3655, allocations: 63.67 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.366, allocations: 135.4 kB / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.3669, allocations: 238.8 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.3673, allocations: 179.5 kB / 436.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3674, allocations: 21.75 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3675, allocations: 79.62 kB / 436.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3677, allocations: 87.66 kB / 436.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3677, allocations: 8 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3679, allocations: 75.88 kB / 436.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.368, allocations: 55.78 kB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3681, allocations: 83.41 kB / 436.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3686, allocations: 240.7 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3686, allocations: 0 / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3686, allocations: 0 / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.3686, allocations: 0 / 436.9 MB, free: 2.461 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008731/0.3695, allocations: 490.4 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3695, allocations: 8.031 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.3696, allocations: 24.8 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.3701, allocations: 229.5 kB / 437.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3701, allocations: 8.375 kB / 437.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.3701, allocations: 8.125 kB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.3705, allocations: 167.5 kB / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3705, allocations: 0 / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3705, allocations: 4 kB / 437.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3706, allocations: 3.938 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3707, allocations: 31.98 kB / 437.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.3713, allocations: 361.4 kB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3716, allocations: 111.9 kB / 438.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3717, allocations: 46.56 kB / 438.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.3717, allocations: 0 / 438.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.3719, allocations: 87.3 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3719, allocations: 0 / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004421/0.3724, allocations: 149.4 kB / 438.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.3725, allocations: 166.5 kB / 438.8 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.3729, allocations: 333.8 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.373, allocations: 29.7 kB / 439.1 MB, free: 8 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3731, allocations: 136 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3732, allocations: 19.97 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.3732, allocations: 29.7 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3734, allocations: 338.8 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.3735, allocations: 27.98 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3736, allocations: 82.84 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.3738, allocations: 88.22 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3738, allocations: 0 / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002544/0.3741, allocations: 125.4 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3741, allocations: 11.98 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3741, allocations: 0 / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.3741, allocations: 4 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3742, allocations: 12.12 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3743, allocations: 12.25 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.3743, allocations: 11.92 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3743, allocations: 8 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001827/0.3745, allocations: 166.4 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3746, allocations: 73.44 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.3749, allocations: 111.4 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3749, allocations: 8.047 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.375, allocations: 4 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.375, allocations: 3.938 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3752, allocations: 208.7 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3752, allocations: 0 / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.3753, allocations: 15.98 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3753, allocations: 0 / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3753, allocations: 0 / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3753, allocations: 7.938 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3753, allocations: 0 / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.3756, allocations: 170.5 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.3757, allocations: 35.84 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3757, allocations: 7.984 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.3758, allocations: 0 / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3758, allocations: 11.98 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3759, allocations: 7.938 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.3761, allocations: 257.2 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3761, allocations: 0 / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3764, allocations: 31.94 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00167/0.3781, allocations: 431 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3784, allocations: 67.91 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3784, allocations: 4.188 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.3784, allocations: 31.92 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3789, allocations: 60.97 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007538/0.3796, allocations: 371.7 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.3801, allocations: 0.7478 MB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3802, allocations: 33.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3803, allocations: 19.44 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3803, allocations: 0 / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Templates: time 0.008143/0.3884, allocations: 2.896 MB / 445.7 MB, free: 9.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.198421054519713]