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.007377/0.007377, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001889/0.001889, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.455/1.455, allocations: 230.6 MB / 259 MB, free: 8.016 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.001934/0.001934, allocations: 63.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2489, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003663/0.2526, allocations: 1.965 MB / 435.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.2551, allocations: 1.243 MB / 436.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2552, allocations: 3.938 kB / 436.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.2559, allocations: 162.8 kB / 436.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.2563, allocations: 159.3 kB / 436.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.2568, allocations: 179.5 kB / 436.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2571, allocations: 195.5 kB / 437 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2572, allocations: 21.8 kB / 437.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2574, allocations: 87.62 kB / 437.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2575, allocations: 83.61 kB / 437.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2575, allocations: 8 kB / 437.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2577, allocations: 63.91 kB / 437.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.2577, allocations: 47.83 kB / 437.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.2578, allocations: 75.48 kB / 437.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.2582, allocations: 220.3 kB / 437.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2582, allocations: 7.938 kB / 437.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2582, allocations: 0 / 437.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2582, allocations: 0 / 437.7 MB, free: 2.453 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.0007951/0.259, allocations: 454.7 kB / 438.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.259, allocations: 12.03 kB / 438.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.2591, allocations: 20.8 kB / 438.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.2595, allocations: 229 kB / 438.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2595, allocations: 4.375 kB / 438.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2595, allocations: 12.12 kB / 438.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.2599, allocations: 159.6 kB / 438.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2599, allocations: 4 kB / 438.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2599, allocations: 0 / 438.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2599, allocations: 4 kB / 438.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.26, allocations: 43.86 kB / 438.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.2606, allocations: 421.6 kB / 439 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.2609, allocations: 130.5 kB / 439.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.261, allocations: 55.42 kB / 439.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.261, allocations: 7.922 kB / 439.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.2612, allocations: 85.11 kB / 439.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.929e-06/0.2612, allocations: 4 kB / 439.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004017/0.2616, allocations: 161.6 kB / 439.4 MB, free: 484 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.2617, allocations: 162.2 kB / 439.6 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.262, allocations: 277 kB / 439.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.262, allocations: 29.7 kB / 439.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.2621, allocations: 120.7 kB / 440 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2622, allocations: 23.97 kB / 440 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.2622, allocations: 37.66 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2624, allocations: 330.8 kB / 440.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.2624, allocations: 24.05 kB / 440.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2626, allocations: 82.84 kB / 440.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2627, allocations: 85.12 kB / 440.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2627, allocations: 0 / 440.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.263, allocations: 141.4 kB / 440.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.263, allocations: 4 kB / 440.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.263, allocations: 4 kB / 440.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.263, allocations: 0 / 440.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.2631, allocations: 15.94 kB / 440.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2631, allocations: 0 / 440.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.2632, allocations: 19.81 kB / 440.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2632, allocations: 12 kB / 440.8 MB, free: 15.01 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.0001405/0.2633, allocations: 145.9 kB / 440.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2634, allocations: 61.56 kB / 441 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.2637, allocations: 115.3 kB / 441.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2637, allocations: 4 kB / 441.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2637, allocations: 0 / 441.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.2637, allocations: 11.92 kB / 441.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.2639, allocations: 200.7 kB / 441.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2639, allocations: 0 / 441.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.264, allocations: 8.188 kB / 441.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.264, allocations: 4 kB / 441.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.264, allocations: 4 kB / 441.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.264, allocations: 0 / 441.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.264, allocations: 7.938 kB / 441.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2643, allocations: 179.4 kB / 441.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.2643, allocations: 35.83 kB / 441.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.2644, allocations: 3.938 kB / 441.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.2644, allocations: 7.984 kB / 441.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2645, allocations: 11.94 kB / 441.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.2645, allocations: 7.984 kB / 441.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.2647, allocations: 204.5 kB / 441.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2647, allocations: 0 / 441.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.265, allocations: 31.95 kB / 441.8 MB, free: 13.89 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.001487/0.2665, allocations: 429.8 kB / 442.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.2667, allocations: 71.84 kB / 442.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2667, allocations: 4 kB / 442.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.2668, allocations: 23.94 kB / 442.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2672, allocations: 68.81 kB / 442.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.2678, allocations: 379.2 kB / 442.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.2682, allocations: 0.7399 MB / 443.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.2683, allocations: 19.44 kB / 443.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2683, allocations: 0 / 443.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.005148/0.2734, allocations: 2.761 MB / 446.3 MB, free: 9.516 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.486275626113638]