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.002258/0.002258, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001502/0.001502, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.587/1.587, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002034/0.002034, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.396, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004177/0.4002, allocations: 1.918 MB / 434 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.4028, allocations: 1.321 MB / 435.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.4029, allocations: 3.938 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.4033, allocations: 75.66 kB / 435.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.4037, allocations: 127.4 kB / 435.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.4045, allocations: 237.8 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.4048, allocations: 175.5 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4049, allocations: 21.55 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.405, allocations: 79.64 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4052, allocations: 91.59 kB / 436.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.4052, allocations: 8 kB / 436.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4054, allocations: 67.95 kB / 436.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4055, allocations: 55.77 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.4056, allocations: 75.48 kB / 436.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.406, allocations: 237 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.406, allocations: 0 / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.406, allocations: 0 / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4061, allocations: 0 / 436.5 MB, free: 2.91 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.0009197/0.407, allocations: 0.5581 MB / 437.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.407, allocations: 8.031 kB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.4071, allocations: 24.8 kB / 437.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.4076, allocations: 291.8 kB / 437.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4076, allocations: 4.375 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4077, allocations: 8.125 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4081, allocations: 167.5 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4081, allocations: 0 / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.4081, allocations: 8 kB / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4081, allocations: 3.938 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.4082, allocations: 27.98 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.4089, allocations: 390.3 kB / 438 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.4092, allocations: 119.9 kB / 438.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.4093, allocations: 42.56 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.522e-05/0.4094, allocations: 8.062 kB / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.4096, allocations: 79.31 kB / 438.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4096, allocations: 4 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004542/0.41, allocations: 153.4 kB / 438.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.4102, allocations: 162.2 kB / 438.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.4106, allocations: 334.7 kB / 438.9 MB, free: 288 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4106, allocations: 29.7 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.4107, allocations: 132.3 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.4108, allocations: 19.84 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.4108, allocations: 33.7 kB / 439.1 MB, free: 56 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4111, allocations: 334.8 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.4111, allocations: 20 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4113, allocations: 86.84 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4115, allocations: 88.22 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4115, allocations: 0 / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.4117, allocations: 137.5 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4117, allocations: 4 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4117, allocations: 7.938 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4117, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4119, allocations: 19.98 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.4119, allocations: 0 / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.4119, allocations: 7.938 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.412, allocations: 7.938 kB / 439.8 MB, free: 15.3 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.0001734/0.4121, allocations: 154.6 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4122, allocations: 77.5 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4125, allocations: 123.3 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4126, allocations: 4 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4126, allocations: 0 / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4126, allocations: 3.938 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4128, allocations: 241.5 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4128, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.4129, allocations: 11.98 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4129, allocations: 4.062 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4129, allocations: 7.938 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4129, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4129, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.4132, allocations: 170.5 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.4134, allocations: 121 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4134, allocations: 8 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.4135, allocations: 4 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.4136, allocations: 7.984 kB / 440.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4136, allocations: 7.938 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.4139, allocations: 253.9 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4139, allocations: 0 / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.4142, allocations: 35.94 kB / 441 MB, free: 13.97 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.001722/0.4159, allocations: 433.2 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.4162, allocations: 75.84 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4162, allocations: 0 / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.4163, allocations: 23.98 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4167, allocations: 60.81 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.4175, allocations: 377.2 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.418, allocations: 0.7514 MB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.833e-05/0.4181, allocations: 21.55 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.4181, allocations: 27.42 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4181, allocations: 0 / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Templates: time 0.007819/0.4259, allocations: 2.873 MB / 445.6 MB, free: 9.48 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.114575679879636]