Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001595/0.001595, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001797/0.001797, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [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.0019/0.0019, allocations: 71.88 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003829/0.3137, allocations: 1.937 MB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.316, allocations: 1.227 MB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3161, allocations: 0 / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.3168, allocations: 155.5 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.3172, allocations: 155.4 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3177, allocations: 167.5 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3179, allocations: 187.5 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3181, allocations: 21.55 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3182, allocations: 83.62 kB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3183, allocations: 79.61 kB / 436 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3184, allocations: 8 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3185, allocations: 55.91 kB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.3186, allocations: 47.83 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.3187, allocations: 71.55 kB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.319, allocations: 217.1 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.319, allocations: 4 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.319, allocations: 0 / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.319, allocations: 0 / 436.4 MB, free: 2.969 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.0008554/0.3199, allocations: 0.5154 MB / 437 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3199, allocations: 12.03 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.32, allocations: 20.8 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3204, allocations: 278.9 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3204, allocations: 384 / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3204, allocations: 16.12 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.3208, allocations: 148.8 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3208, allocations: 3.984 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3208, allocations: 0 / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3208, allocations: 7.938 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.3209, allocations: 27.98 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.3215, allocations: 366.4 kB / 437.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3217, allocations: 103.9 kB / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.3218, allocations: 42.56 kB / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3218, allocations: 4 kB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.322, allocations: 79.31 kB / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.322, allocations: 0 / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004002/0.3224, allocations: 141.5 kB / 438.2 MB, free: 1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.3225, allocations: 140.8 kB / 438.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3228, allocations: 276.9 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3228, allocations: 25.7 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.3229, allocations: 116.1 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.3229, allocations: 19.89 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.323, allocations: 33.67 kB / 438.8 MB, free: 356 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3231, allocations: 334.8 kB / 439.1 MB, free: 12 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.3232, allocations: 20.05 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.3233, allocations: 69.94 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3234, allocations: 76.25 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3234, allocations: 0 / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002093/0.3236, allocations: 117.4 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3237, allocations: 10.8 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3237, allocations: 4 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3237, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3238, allocations: 12 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3238, allocations: 0 / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.3239, allocations: 20.05 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3239, allocations: 4 kB / 439.4 MB, free: 15.64 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,sample1.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 (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.0001406/0.324, allocations: 154.2 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.3241, allocations: 65.5 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.3243, allocations: 107.4 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3243, allocations: 0 / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3243, allocations: 384 / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3243, allocations: 12 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3246, allocations: 229.5 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3246, allocations: 0 / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.3246, allocations: 4 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3246, allocations: 4 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3246, allocations: 4 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3246, allocations: 3.938 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3246, allocations: 4 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3249, allocations: 158.6 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.325, allocations: 113 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.325, allocations: 3.984 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.3251, allocations: 4 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.3251, allocations: 8 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3251, allocations: 11.92 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3253, allocations: 196.5 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3253, allocations: 4 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3256, allocations: 35.92 kB / 440.5 MB, free: 14.43 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.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.001463/0.327, allocations: 417 kB / 440.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3273, allocations: 67.84 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3273, allocations: 0 / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.3273, allocations: 28.23 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3278, allocations: 60.3 kB / 441.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.3284, allocations: 358.1 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3288, allocations: 0.7281 MB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3289, allocations: 31.42 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3289, allocations: 0 / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.005308/0.3342, allocations: 2.689 MB / 444.9 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.361264783889055]