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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.548/1.548, allocations: 230.4 MB / 251.1 MB, free: 8.461 MB / 206.1 MB 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.002029/0.002029, allocations: 71.83 kB / 368.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 53.32 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00423/0.3819, allocations: 1.929 MB / 424.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3842, allocations: 1.235 MB / 425.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3843, allocations: 3.938 kB / 425.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.3849, allocations: 147.5 kB / 425.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.3854, allocations: 163.4 kB / 425.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.386, allocations: 171.4 kB / 425.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.3863, allocations: 191.5 kB / 426.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3864, allocations: 29.66 kB / 426.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3865, allocations: 79.64 kB / 426.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3867, allocations: 87.59 kB / 426.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3867, allocations: 8 kB / 426.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.3869, allocations: 55.97 kB / 426.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.3869, allocations: 47.83 kB / 426.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.387, allocations: 75.48 kB / 426.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.3874, allocations: 218.4 kB / 426.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3874, allocations: 4 kB / 426.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3874, allocations: 0 / 426.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3874, allocations: 0 / 426.7 MB, free: 3.406 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.0008559/0.3883, allocations: 0.5271 MB / 427.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3883, allocations: 12.03 kB / 427.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.3884, allocations: 20.8 kB / 427.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.3887, allocations: 282.9 kB / 427.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3888, allocations: 8.359 kB / 427.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3888, allocations: 12.12 kB / 427.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.3891, allocations: 155.6 kB / 427.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3892, allocations: 7.938 kB / 427.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3892, allocations: 3.984 kB / 427.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3892, allocations: 4 kB / 427.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3893, allocations: 35.98 kB / 427.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.3899, allocations: 450.5 kB / 428.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.3902, allocations: 138.5 kB / 428.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3903, allocations: 55.42 kB / 428.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3903, allocations: 4.062 kB / 428.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.3905, allocations: 97.03 kB / 428.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.3905, allocations: 4 kB / 428.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004011/0.3909, allocations: 157.4 kB / 428.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3911, allocations: 170.1 kB / 428.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.3914, allocations: 273 kB / 429.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3914, allocations: 29.7 kB / 429.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.3915, allocations: 116.8 kB / 429.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3915, allocations: 23.89 kB / 429.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.3916, allocations: 37.66 kB / 429.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3918, allocations: 334.7 kB / 429.6 MB, free: 172 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.3918, allocations: 23.98 kB / 429.6 MB, free: 148 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.392, allocations: 77.73 kB / 429.7 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3921, allocations: 93.09 kB / 429.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3921, allocations: 4 kB / 429.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/0.3924, allocations: 129.4 kB / 429.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3924, allocations: 4 kB / 429.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3924, allocations: 7.984 kB / 429.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3924, allocations: 0 / 429.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.3925, allocations: 12 kB / 429.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3925, allocations: 0 / 429.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.3926, allocations: 23.81 kB / 430 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3926, allocations: 8 kB / 430 MB, free: 15.75 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.0001408/0.3927, allocations: 149.9 kB / 430.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.3928, allocations: 69.5 kB / 430.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.393, allocations: 103.8 kB / 430.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.393, allocations: 4 kB / 430.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.393, allocations: 0 / 430.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3931, allocations: 7.938 kB / 430.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3933, allocations: 237.6 kB / 430.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3933, allocations: 0 / 430.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.3933, allocations: 12.05 kB / 430.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3933, allocations: 3.938 kB / 430.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3934, allocations: 4 kB / 430.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3934, allocations: 0 / 430.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3934, allocations: 4 kB / 430.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3936, allocations: 179.4 kB / 430.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.3937, allocations: 108.9 kB / 430.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.3938, allocations: 7.984 kB / 430.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.3938, allocations: 4 kB / 430.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3939, allocations: 15.88 kB / 430.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3939, allocations: 7.984 kB / 430.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3941, allocations: 200.5 kB / 431.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 0 / 431.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3944, allocations: 31.95 kB / 431.1 MB, free: 14.5 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.001478/0.3958, allocations: 425.6 kB / 431.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.3961, allocations: 71.84 kB / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3961, allocations: 0 / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.3962, allocations: 24 kB / 431.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3966, allocations: 76.08 kB / 431.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.3972, allocations: 337.3 kB / 432 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.3976, allocations: 0.7321 MB / 432.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.572e-05/0.3977, allocations: 25.52 kB / 432.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3977, allocations: 19.44 kB / 432.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3977, allocations: 0 / 432.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Templates: time 0.007332/0.4051, allocations: 2.602 MB / 435.4 MB, free: 10.32 MB / 350.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/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] Reference file matches