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.001571/0.001571, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001711/0.001711, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.3 MB, free: 7.992 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.001501/0.001501, allocations: 51.92 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.35 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003531/0.2382, allocations: 1.954 MB / 434.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2405, allocations: 1.331 MB / 435.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2406, allocations: 3.938 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.2409, allocations: 71.66 kB / 435.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.2413, allocations: 135.4 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.242, allocations: 234.3 kB / 436.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2422, allocations: 183.4 kB / 436.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2423, allocations: 33.72 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2425, allocations: 75.7 kB / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2426, allocations: 91.58 kB / 436.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2426, allocations: 16 kB / 436.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2428, allocations: 71.89 kB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.2429, allocations: 55.83 kB / 436.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.243, allocations: 79.42 kB / 436.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.2434, allocations: 261.1 kB / 436.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2434, allocations: 4 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2434, allocations: 0 / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.2434, allocations: 0 / 437 MB, free: 2.387 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.0007359/0.2441, allocations: 482.5 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2441, allocations: 12.03 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.2442, allocations: 28.75 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2446, allocations: 233.4 kB / 437.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2447, allocations: 4.375 kB / 437.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2447, allocations: 12.12 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2451, allocations: 168.4 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2451, allocations: 0 / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2451, allocations: 7.984 kB / 437.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2451, allocations: 4 kB / 437.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2452, allocations: 43.91 kB / 437.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.2458, allocations: 441.6 kB / 438.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2461, allocations: 146.5 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2462, allocations: 55.34 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2462, allocations: 8 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.2464, allocations: 97.05 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2464, allocations: 0 / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004201/0.2468, allocations: 173.4 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.247, allocations: 192.2 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.2473, allocations: 340.2 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2474, allocations: 29.7 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2475, allocations: 136.3 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2475, allocations: 23.95 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.2476, allocations: 37.64 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2477, allocations: 330.8 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.2478, allocations: 27.98 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2479, allocations: 103.2 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2481, allocations: 101 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2481, allocations: 0 / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002564/0.2484, allocations: 137.4 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2484, allocations: 8 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2484, allocations: 0 / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2484, allocations: 4.156 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2485, allocations: 23.98 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2485, allocations: 4 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.2486, allocations: 19.83 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2486, allocations: 7.984 kB / 440.3 MB, free: 14.67 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.000151/0.2488, allocations: 153.8 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.2489, allocations: 69.55 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.2491, allocations: 123.4 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2492, allocations: 4 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2492, allocations: 384 / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2492, allocations: 7.922 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.2494, allocations: 212.7 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2494, allocations: 4 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.2495, allocations: 19.98 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2495, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2495, allocations: 4 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.2495, allocations: 7.922 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2495, allocations: 48 / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2498, allocations: 199.3 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.2499, allocations: 39.78 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.2499, allocations: 4 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.25, allocations: 7.984 kB / 441.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.25, allocations: 19.92 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.2501, allocations: 7.938 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.2503, allocations: 251 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2503, allocations: 0 / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.2506, allocations: 32 kB / 441.5 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 (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.001525/0.2521, allocations: 438.8 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.2524, allocations: 79.91 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2524, allocations: 0 / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.2525, allocations: 31.92 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.2529, allocations: 70.45 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.2536, allocations: 425 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.254, allocations: 0.7515 MB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.254, allocations: 23.42 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.254, allocations: 4 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Templates: time 0.005576/0.2596, allocations: 3.066 MB / 446.3 MB, free: 8.66 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.247599591035396]