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.001676/0.001676, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002/0.002, allocations: 212.6 kB / 24.48 MB, free: 3.84 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001646/0.001646, allocations: 51.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2205, allocations: 53.36 MB / 432.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003593/0.2241, allocations: 1.903 MB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.2264, allocations: 1.231 MB / 435.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2266, allocations: 3.938 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2269, allocations: 71.66 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2272, allocations: 139.4 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.2279, allocations: 226.6 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.2281, allocations: 191.4 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2283, allocations: 25.73 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.2284, allocations: 79.64 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2285, allocations: 83.66 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.2285, allocations: 11.94 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2287, allocations: 79.88 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.2288, allocations: 51.84 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.2289, allocations: 63.53 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.2292, allocations: 256.6 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2293, allocations: 0 / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2293, allocations: 0 / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2293, allocations: 0 / 436.7 MB, free: 2.371 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.0007679/0.23, allocations: 486.5 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2301, allocations: 12.03 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.2301, allocations: 28.75 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.2306, allocations: 237.4 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2306, allocations: 8.375 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2306, allocations: 8.125 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.231, allocations: 193.3 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.231, allocations: 3.938 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.231, allocations: 0 / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.231, allocations: 8 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2311, allocations: 35.98 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.2317, allocations: 414.2 kB / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.232, allocations: 142.5 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2321, allocations: 59.36 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2321, allocations: 0 / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.2323, allocations: 108.9 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.2323, allocations: 0 / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004344/0.2327, allocations: 177.6 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.2329, allocations: 166.2 kB / 438.8 MB, free: 84 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.2333, allocations: 344.2 kB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2333, allocations: 25.7 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2334, allocations: 132.4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2334, allocations: 24.2 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.2335, allocations: 33.72 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2336, allocations: 338.8 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.2337, allocations: 31.92 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.2339, allocations: 142.2 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.2341, allocations: 105 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2341, allocations: 0 / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002765/0.2343, allocations: 141.4 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2343, allocations: 4 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2343, allocations: 0 / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2344, allocations: 4 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.2345, allocations: 23.98 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2345, allocations: 4 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/0.2346, allocations: 11.94 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2346, allocations: 4 kB / 440.1 MB, free: 14.64 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.0001526/0.2348, allocations: 165.8 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2349, allocations: 77.48 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.2352, allocations: 127.5 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2352, allocations: 4 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2352, allocations: 0 / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2352, allocations: 4 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2354, allocations: 177.2 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2354, allocations: 3.938 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.127e-05/0.2355, allocations: 24.05 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2355, allocations: 0 / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2355, allocations: 12.06 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2355, allocations: 0 / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2355, allocations: 0 / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.2358, allocations: 191.4 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.2359, allocations: 43.83 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2359, allocations: 0 / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.236, allocations: 11.98 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2361, allocations: 11.92 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.2361, allocations: 8 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.2363, allocations: 251.1 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2363, allocations: 0 / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.2366, allocations: 39.92 kB / 441.2 MB, free: 13.44 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.001677/0.2383, allocations: 470.9 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.2386, allocations: 80.09 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2386, allocations: 8.062 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.2387, allocations: 31.97 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2391, allocations: 72.98 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.2398, allocations: 423.5 kB / 442.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2399, allocations: 144.4 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.24, allocations: 27.42 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.24, allocations: 0 / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Templates: time 0.005696/0.2457, allocations: 3.116 MB / 445.6 MB, free: 9.215 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.582764246035367]