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.Hold.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.00159/0.00159, allocations: 115.5 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.001705/0.001705, allocations: 210.8 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.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [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.001886/0.001886, allocations: 63.84 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004007/0.3275, allocations: 1.95 MB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3298, allocations: 1.247 MB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.33, allocations: 4 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.3306, allocations: 151.5 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.3311, allocations: 163.4 kB / 435.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.3316, allocations: 170.6 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.3319, allocations: 199.4 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.332, allocations: 21.67 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3322, allocations: 83.56 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3323, allocations: 79.67 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3323, allocations: 8 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3325, allocations: 59.97 kB / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.188e-05/0.3326, allocations: 55.72 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.3327, allocations: 75.53 kB / 436.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.333, allocations: 217 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.333, allocations: 4 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.333, allocations: 0 / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3331, allocations: 0 / 436.5 MB, free: 2.883 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009389/0.334, allocations: 0.5309 MB / 437 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.334, allocations: 8.031 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.3341, allocations: 20.8 kB / 437.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3345, allocations: 278.9 kB / 437.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3345, allocations: 8.375 kB / 437.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3346, allocations: 8.125 kB / 437.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.335, allocations: 167.5 kB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.335, allocations: 0 / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.335, allocations: 4 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.335, allocations: 0 / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3351, allocations: 39.92 kB / 437.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.3358, allocations: 446.6 kB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3361, allocations: 138.5 kB / 438.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3362, allocations: 47.42 kB / 438.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3362, allocations: 4 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.3364, allocations: 97.03 kB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.828e-06/0.3364, allocations: 3.984 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004233/0.3368, allocations: 157.4 kB / 438.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3369, allocations: 162.2 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.3373, allocations: 285.2 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3373, allocations: 29.7 kB / 438.9 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3374, allocations: 120.4 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3374, allocations: 15.91 kB / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.3375, allocations: 37.66 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3377, allocations: 334.8 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.3378, allocations: 24 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3379, allocations: 86.84 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.338, allocations: 97.36 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.338, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.3383, allocations: 121.5 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3383, allocations: 8 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3383, allocations: 0 / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3383, allocations: 0 / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.3384, allocations: 19.98 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3384, allocations: 7.938 kB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.3385, allocations: 19.98 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3385, allocations: 4 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001534/0.3387, allocations: 141.8 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3388, allocations: 77.48 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.339, allocations: 107.4 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.339, allocations: 0 / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3391, allocations: 4 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3391, allocations: 8 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3393, allocations: 229.6 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3393, allocations: 0 / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.3393, allocations: 11.88 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3393, allocations: 4 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.3393, allocations: 0 / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3394, allocations: 4 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3394, allocations: 4.109 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3396, allocations: 183.4 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3398, allocations: 109 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3398, allocations: 4 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.3399, allocations: 4 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3399, allocations: 11.92 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3399, allocations: 4 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3401, allocations: 208.5 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3404, allocations: 35.89 kB / 440.9 MB, free: 13.99 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,hold1.y,hold1.u,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 (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.001516/0.3419, allocations: 425.7 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3422, allocations: 83.78 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3422, allocations: 4.312 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.3423, allocations: 23.98 kB / 441.4 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.0004687/0.3427, allocations: 74.39 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.3434, allocations: 359.1 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.3438, allocations: 0.7438 MB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.3439, allocations: 23.44 kB / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3439, allocations: 3.938 kB / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Templates: time 0.005521/0.3494, allocations: 2.771 MB / 445.4 MB, free: 9.613 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.420357521623373]