Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001862/0.001862, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002637/0.002637, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 53.36 MB / 432.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003894/0.2985, allocations: 1.953 MB / 434.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.301, allocations: 1.336 MB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3011, allocations: 7.938 kB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.3015, allocations: 67.66 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.3019, allocations: 131.4 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.3026, allocations: 230.8 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.3029, allocations: 191.4 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.303, allocations: 21.75 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3032, allocations: 91.56 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3033, allocations: 87.66 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3033, allocations: 8 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.3035, allocations: 75.88 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3036, allocations: 55.78 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.3037, allocations: 79.47 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.3041, allocations: 260.5 kB / 436.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3041, allocations: 4 kB / 436.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3041, allocations: 0 / 436.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3041, allocations: 0 / 436.7 MB, free: 2.539 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.0007796/0.3049, allocations: 482.5 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3049, allocations: 8.031 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.305, allocations: 32.75 kB / 437.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.3055, allocations: 229.4 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3055, allocations: 12.38 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3055, allocations: 12.36 kB / 437.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.306, allocations: 176.7 kB / 437.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.306, allocations: 0 / 437.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.306, allocations: 4 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.306, allocations: 4 kB / 437.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3061, allocations: 35.92 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.3068, allocations: 453.5 kB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.307, allocations: 134.5 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3072, allocations: 67.34 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3072, allocations: 7.938 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.3074, allocations: 96.98 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3074, allocations: 4 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000438/0.3078, allocations: 173.4 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.308, allocations: 183.9 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.3084, allocations: 344.1 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3084, allocations: 29.7 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3085, allocations: 128.7 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3085, allocations: 23.89 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.3086, allocations: 37.7 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3088, allocations: 334.8 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.3089, allocations: 23.98 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.309, allocations: 99.7 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3092, allocations: 93.08 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3092, allocations: 0 / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002792/0.3095, allocations: 145.4 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3095, allocations: 4 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3095, allocations: 0 / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3095, allocations: 7.938 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3096, allocations: 19.98 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3097, allocations: 4 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.3097, allocations: 15.89 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3098, allocations: 7.984 kB / 440 MB, free: 14.83 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.0001631/0.3099, allocations: 161.9 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.31, allocations: 69.55 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3103, allocations: 119.7 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3103, allocations: 4 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3103, allocations: 4.062 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3103, allocations: 7.984 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3106, allocations: 212.7 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3106, allocations: 11.98 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.3107, allocations: 15.94 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3107, allocations: 0 / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3107, allocations: 11.98 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3107, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3107, allocations: 3.938 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.311, allocations: 187.4 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.3111, allocations: 39.78 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3111, allocations: 4 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.3112, allocations: 7.984 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.3113, allocations: 15.92 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3113, allocations: 4 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.3116, allocations: 255 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 4 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3119, allocations: 35.94 kB / 441.2 MB, free: 13.59 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.001586/0.3135, allocations: 431.2 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3137, allocations: 75.91 kB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3137, allocations: 0 / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3138, allocations: 48.28 kB / 441.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3143, allocations: 65.72 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.315, allocations: 390.7 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3154, allocations: 0.7478 MB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.3155, allocations: 21.64 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.3155, allocations: 27.42 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3155, allocations: 0 / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Templates: time 0.007419/0.3229, allocations: 3.033 MB / 446 MB, free: 8.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.980587812140584]