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.BackSample.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.001812/0.001812, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00231/0.00231, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.465/1.465, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [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.001923/0.001923, allocations: 71.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 53.31 MB / 428.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003671/0.1187, allocations: 1.932 MB / 430 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.121, allocations: 1.328 MB / 431.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1211, allocations: 4 kB / 431.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1214, allocations: 75.59 kB / 431.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1218, allocations: 131.4 kB / 431.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.1224, allocations: 235 kB / 431.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.1227, allocations: 187.4 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1228, allocations: 25.62 kB / 432 MB, free: 468 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.123, allocations: 91.61 kB / 432 MB, free: 376 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1231, allocations: 91.61 kB / 432.1 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1231, allocations: 8 kB / 432.1 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1233, allocations: 67.95 kB / 432.2 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.1234, allocations: 55.77 kB / 432.3 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.1235, allocations: 79.42 kB / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2346/0.358, allocations: 249 kB / 432.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.358, allocations: 0.5625 kB / 432.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.358, allocations: 0.9062 kB / 432.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.358, allocations: 2.25 kB / 432.6 MB, free: 8.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007823/0.3588, allocations: 0.5539 MB / 433.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3589, allocations: 9.594 kB / 433.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.3589, allocations: 27.19 kB / 433.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3594, allocations: 311 kB / 433.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3594, allocations: 5.766 kB / 433.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3594, allocations: 8.156 kB / 433.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.3598, allocations: 182.5 kB / 433.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3598, allocations: 1.5 kB / 433.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3598, allocations: 5.75 kB / 433.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3598, allocations: 1.219 kB / 433.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3599, allocations: 38.77 kB / 433.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.3604, allocations: 404.4 kB / 434.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.3607, allocations: 139.1 kB / 434.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.3608, allocations: 55.52 kB / 434.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3608, allocations: 6.812 kB / 434.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.361, allocations: 80.09 kB / 434.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/0.361, allocations: 1.094 kB / 434.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004131/0.3614, allocations: 166.3 kB / 434.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3614, allocations: 192.1 kB / 434.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3618, allocations: 348.2 kB / 435.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3618, allocations: 33.95 kB / 435.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.3619, allocations: 131 kB / 435.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.3619, allocations: 21.67 kB / 435.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3619, allocations: 36.7 kB / 435.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.362, allocations: 333.8 kB / 435.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.3621, allocations: 28.11 kB / 435.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-05/0.3622, allocations: 110.8 kB / 435.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3623, allocations: 102.1 kB / 435.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3623, allocations: 3.062 kB / 435.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000225/0.3625, allocations: 143 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3626, allocations: 6.969 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3626, allocations: 3.531 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3626, allocations: 1.438 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3627, allocations: 24.81 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3627, allocations: 2.656 kB / 436 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.3628, allocations: 13 kB / 436.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3628, allocations: 4.406 kB / 436.1 MB, free: 6.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001131/0.3629, allocations: 157.8 kB / 436.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.363, allocations: 84.39 kB / 436.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3631, allocations: 37.55 kB / 436.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3631, allocations: 2.438 kB / 436.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3631, allocations: 1.219 kB / 436.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3631, allocations: 2.906 kB / 436.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3632, allocations: 246.1 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3632, allocations: 1.062 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.3633, allocations: 16.81 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3633, allocations: 1.969 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3633, allocations: 7.203 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3633, allocations: 3.312 kB / 436.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3633, allocations: 8.969 kB / 436.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3636, allocations: 184.7 kB / 436.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.3637, allocations: 119.5 kB / 436.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3637, allocations: 7.562 kB / 436.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.3638, allocations: 11.06 kB / 436.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3638, allocations: 9.031 kB / 436.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3639, allocations: 8.438 kB / 436.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3641, allocations: 252.7 kB / 437.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3641, allocations: 0 / 437.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3644, allocations: 41.55 kB / 437.2 MB, free: 5.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001468/0.3658, allocations: 425.7 kB / 437.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3661, allocations: 84.33 kB / 437.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3661, allocations: 1.156 kB / 437.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3662, allocations: 27.7 kB / 437.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3666, allocations: 79.69 kB / 437.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.3673, allocations: 433.4 kB / 438.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3675, allocations: 0.7465 MB / 439 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.3676, allocations: 21.97 kB / 439 MB, free: 4.367 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3676, allocations: 0 / 439 MB, free: 4.367 MB / 350.1 MB Notification: Performance of Templates: time 0.006884/0.3744, allocations: 3.176 MB / 442.2 MB, free: 4.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.967559589073062]