Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002303/0.002303, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.77 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 51.92 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3047, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004083/0.3088, allocations: 1.892 MB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.3112, allocations: 1.235 MB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3113, allocations: 7.938 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.3117, allocations: 63.67 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.3121, allocations: 135.4 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.3129, allocations: 230.9 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.3132, allocations: 191.5 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3133, allocations: 25.67 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3134, allocations: 83.69 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3136, allocations: 87.61 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3136, allocations: 8 kB / 435.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3138, allocations: 83.88 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.3139, allocations: 55.83 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.314, allocations: 63.53 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.3144, allocations: 248.2 kB / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3144, allocations: 0 / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3144, allocations: 0 / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3144, allocations: 0 / 436 MB, free: 2.32 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.0008625/0.3153, allocations: 486.5 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3153, allocations: 8.031 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.3154, allocations: 28.75 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.316, allocations: 241.4 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.316, allocations: 384 / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3161, allocations: 16.12 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.3166, allocations: 196.8 kB / 436.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3166, allocations: 0 / 436.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3166, allocations: 7.938 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3166, allocations: 4 kB / 436.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3167, allocations: 47.91 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008322/0.3176, allocations: 402.2 kB / 437.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.3179, allocations: 142.5 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.318, allocations: 55.42 kB / 437.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.318, allocations: 11.92 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3182, allocations: 101 kB / 437.7 MB, free: 420 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3182, allocations: 0 / 437.7 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004768/0.3187, allocations: 177.4 kB / 437.8 MB, free: 236 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3188, allocations: 158.2 kB / 438 MB, free: 40 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.3193, allocations: 344.1 kB / 438.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.3193, allocations: 37.64 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3194, allocations: 128.4 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.3195, allocations: 24.2 kB / 438.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.3195, allocations: 37.7 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.3198, allocations: 342.8 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.3199, allocations: 23.98 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3201, allocations: 146.2 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3203, allocations: 93.08 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3203, allocations: 0 / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002877/0.3205, allocations: 145.4 kB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3206, allocations: 4 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3206, allocations: 4 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3206, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3207, allocations: 31.92 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3207, allocations: 3.984 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.3208, allocations: 7.953 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3208, allocations: 4.156 kB / 439.3 MB, free: 14.59 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.000253/0.3211, allocations: 177.6 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.3212, allocations: 61.56 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.3215, allocations: 135.4 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3215, allocations: 0 / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3215, allocations: 4.312 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3215, allocations: 3.984 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.3218, allocations: 177.2 kB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3218, allocations: 8 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.3219, allocations: 20.05 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3219, allocations: 0 / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3219, allocations: 4 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3219, allocations: 0 / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3219, allocations: 4 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3223, allocations: 199.3 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3224, allocations: 35.84 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3224, allocations: 11.92 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3225, allocations: 0 / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.3226, allocations: 15.98 kB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3226, allocations: 8 kB / 440.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.323, allocations: 255 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.323, allocations: 0 / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3233, allocations: 35.94 kB / 440.5 MB, free: 13.38 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 (12): * Single equations (assignments): 10 * 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.001786/0.3251, allocations: 471.4 kB / 440.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.3254, allocations: 84.14 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3254, allocations: 4.062 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3255, allocations: 35.92 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.326, allocations: 68.89 kB / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.3269, allocations: 397.6 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3271, allocations: 140.5 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3272, allocations: 25.78 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.3273, allocations: 27.42 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3273, allocations: 0 / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.008733/0.336, allocations: 3.278 MB / 445 MB, free: 9.047 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.784648951608688]