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.001618/0.001618, allocations: 111.5 kB / 18.45 MB, free: 4.621 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.002037/0.002037, allocations: 208.3 kB / 21.41 MB, free: 1.668 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.647/1.647, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.00149/0.00149, allocations: 55.92 kB / 374.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003731/0.1118, allocations: 1.92 MB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1142, allocations: 1.309 MB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1144, allocations: 7.938 kB / 430.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1147, allocations: 71.55 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.1151, allocations: 143.4 kB / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.1159, allocations: 226.9 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1162, allocations: 183.5 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1163, allocations: 33.47 kB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1165, allocations: 79.7 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1166, allocations: 95.55 kB / 431.5 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1167, allocations: 8 kB / 431.5 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.1168, allocations: 71.94 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.1169, allocations: 47.84 kB / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.117, allocations: 91.33 kB / 431.7 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2096/0.3266, allocations: 240.1 kB / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3266, allocations: 0.5156 kB / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3266, allocations: 0 / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3266, allocations: 0.9062 kB / 432 MB, free: 8.309 MB / 350.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.000716/0.3273, allocations: 0.5481 MB / 432.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3274, allocations: 10.38 kB / 432.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.3274, allocations: 29.19 kB / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3279, allocations: 296.3 kB / 432.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3279, allocations: 10.16 kB / 432.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3279, allocations: 8.125 kB / 432.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3282, allocations: 183 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3283, allocations: 0.75 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3283, allocations: 4.281 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3283, allocations: 1.438 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3284, allocations: 44.16 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.3289, allocations: 470.6 kB / 433.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.3291, allocations: 141.7 kB / 433.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.3292, allocations: 56.61 kB / 433.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3293, allocations: 3.797 kB / 433.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.3294, allocations: 100.2 kB / 433.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3294, allocations: 0.5312 kB / 433.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004446/0.3299, allocations: 169.6 kB / 434 MB, free: 6.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.33, allocations: 189 kB / 434.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.3303, allocations: 342.3 kB / 434.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3303, allocations: 28.7 kB / 434.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.3304, allocations: 133 kB / 434.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3304, allocations: 23.23 kB / 434.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.3305, allocations: 35.3 kB / 434.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.3306, allocations: 335.8 kB / 435.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.3307, allocations: 29.69 kB / 435.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3308, allocations: 101.3 kB / 435.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3309, allocations: 103.1 kB / 435.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3309, allocations: 0 / 435.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002263/0.3312, allocations: 141 kB / 435.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3312, allocations: 3.031 kB / 435.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3312, allocations: 4.156 kB / 435.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3312, allocations: 0 / 435.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3313, allocations: 25.3 kB / 435.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3313, allocations: 6.969 kB / 435.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.3314, allocations: 11.44 kB / 435.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3314, allocations: 5.406 kB / 435.5 MB, free: 5.922 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.0001143/0.3315, allocations: 161.2 kB / 435.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.3316, allocations: 69.31 kB / 435.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.3317, allocations: 32.19 kB / 435.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3317, allocations: 6.281 kB / 435.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3317, allocations: 3.906 kB / 435.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3317, allocations: 1.062 kB / 435.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3319, allocations: 254.2 kB / 436 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3319, allocations: 7.531 kB / 436 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.332, allocations: 16.81 kB / 436 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.332, allocations: 2.062 kB / 436.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.332, allocations: 4.781 kB / 436.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.332, allocations: 1.188 kB / 436.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.332, allocations: 2.766 kB / 436.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3322, allocations: 195.3 kB / 436.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.3323, allocations: 115.8 kB / 436.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3324, allocations: 7 kB / 436.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.3324, allocations: 2.125 kB / 436.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.3325, allocations: 16.41 kB / 436.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3325, allocations: 6.344 kB / 436.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3327, allocations: 256 kB / 436.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3327, allocations: 0 / 436.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.333, allocations: 35.97 kB / 436.7 MB, free: 5.25 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001554/0.3346, allocations: 422.2 kB / 437.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3348, allocations: 83.88 kB / 437.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3349, allocations: 1.125 kB / 437.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.3349, allocations: 30.94 kB / 437.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3354, allocations: 78.08 kB / 437.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.3361, allocations: 430.2 kB / 437.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.3363, allocations: 0.7453 MB / 438.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.3363, allocations: 21.8 kB / 438.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3363, allocations: 0 / 438.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of Templates: time 0.006651/0.343, allocations: 3.07 MB / 441.5 MB, free: 3.824 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/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: 7.6676643230021]