Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00132/0.00132, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001416/0.001416, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.433/1.433, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.IntegerSignals.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.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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00195/0.00195, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003792/0.3072, allocations: 1.954 MB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3095, allocations: 1.317 MB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3097, allocations: 4 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.31, allocations: 75.59 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.3104, allocations: 131.4 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.3111, allocations: 222.6 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3114, allocations: 195.4 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3115, allocations: 21.55 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3116, allocations: 87.62 kB / 436 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3117, allocations: 79.67 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3118, allocations: 12 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3119, allocations: 75.88 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.312, allocations: 51.78 kB / 436.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3121, allocations: 79.47 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.3125, allocations: 256.8 kB / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3125, allocations: 0 / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3125, allocations: 0 / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3125, allocations: 0 / 436.6 MB, free: 2.82 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.0008833/0.3134, allocations: 0.5504 MB / 437.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3135, allocations: 12.03 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.3135, allocations: 28.75 kB / 437.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.314, allocations: 303.6 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.314, allocations: 8.359 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3141, allocations: 12.12 kB / 437.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.3145, allocations: 168.4 kB / 437.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3145, allocations: 0 / 437.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3145, allocations: 4 kB / 437.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3145, allocations: 0 / 437.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3146, allocations: 51.91 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.3153, allocations: 462.6 kB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.3156, allocations: 138.5 kB / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3157, allocations: 63.36 kB / 438.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3157, allocations: 16.05 kB / 438.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3159, allocations: 97.05 kB / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3159, allocations: 0 / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004372/0.3164, allocations: 169.7 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.3165, allocations: 187.9 kB / 438.8 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.3169, allocations: 343 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3169, allocations: 29.7 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.317, allocations: 136.3 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3171, allocations: 23.83 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3171, allocations: 29.72 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3173, allocations: 338.8 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.3174, allocations: 27.98 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3175, allocations: 95.7 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3177, allocations: 97.08 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3177, allocations: 0 / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002706/0.318, allocations: 137.4 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.318, allocations: 16.09 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.318, allocations: 0 / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.318, allocations: 4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3181, allocations: 19.98 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3182, allocations: 0 / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.3182, allocations: 19.89 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3182, allocations: 4 kB / 440.1 MB, free: 14.91 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.0001655/0.3184, allocations: 165.7 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3185, allocations: 69.56 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3188, allocations: 127.6 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3188, allocations: 4 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3188, allocations: 48 / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3188, allocations: 7.922 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3191, allocations: 245.5 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3191, allocations: 3.938 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.3192, allocations: 19.98 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3192, allocations: 4 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3192, allocations: 4.062 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3192, allocations: 7.938 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3192, allocations: 0 / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3195, allocations: 183.4 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3196, allocations: 120.9 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3197, allocations: 4 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3197, allocations: 7.984 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.3198, allocations: 15.92 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3198, allocations: 4 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3201, allocations: 249.9 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3201, allocations: 3.938 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3204, allocations: 39.92 kB / 441.4 MB, free: 13.53 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.001505/0.3219, allocations: 431.7 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.3221, allocations: 75.91 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3221, allocations: 4 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.3222, allocations: 27.92 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3227, allocations: 71.8 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.3234, allocations: 432.6 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3239, allocations: 0.7514 MB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.3239, allocations: 23.44 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3239, allocations: 0 / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Templates: time 0.005634/0.3296, allocations: 3.073 MB / 446.2 MB, free: 8.766 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.492345956619829]