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.0007626/0.0007626, allocations: 76.11 kB / 10.01 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001815, allocations: 453.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006901/0.0006901, allocations: 162.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001573, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9311/0.9311, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.019, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.252e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003791/0.003814, allocations: 2.022 MB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.006062, allocations: 1.288 MB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.006192, allocations: 4 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.00645, allocations: 67.55 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.006801, allocations: 151.2 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.007472, allocations: 231 kB / 248.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.007754, allocations: 187.5 kB / 249.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00786, allocations: 22.44 kB / 249.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.008096, allocations: 140.4 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.008224, allocations: 67.8 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.008251, allocations: 12 kB / 249.4 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.008447, allocations: 75.88 kB / 249.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.008527, allocations: 47.8 kB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.008583, allocations: 35.81 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.00888, allocations: 179.3 kB / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.008892, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008892, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.008903, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.7 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.000695/0.009598, allocations: 488.7 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.009632, allocations: 8.031 kB / 250.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.009695, allocations: 32.89 kB / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.01004, allocations: 212.7 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.0101, allocations: 4.375 kB / 250.4 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.01014, allocations: 8.375 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.01044, allocations: 157.5 kB / 250.6 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.01045, allocations: 4 kB / 250.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.01046, allocations: 0 / 250.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.01047, allocations: 0 / 250.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.01051, allocations: 26.75 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.01084, allocations: 307.6 kB / 250.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01099, allocations: 156 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.01102, allocations: 39.38 kB / 251.1 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.01105, allocations: 7.984 kB / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.01116, allocations: 87.84 kB / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 2.334e-06/0.01117, allocations: 0 / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001724/0.01134, allocations: 96.36 kB / 251.3 MB, free: 7.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.0114, allocations: 136.5 kB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01158, allocations: 269 kB / 251.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.0116, allocations: 33.7 kB / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.01165, allocations: 108.9 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01168, allocations: 15.89 kB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.01172, allocations: 33.66 kB / 251.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01184, allocations: 338.7 kB / 252.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.01187, allocations: 10.77 kB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.01193, allocations: 69.05 kB / 252.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.012, allocations: 44.16 kB / 252.3 MB, free: 6.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.012, allocations: 32 / 252.3 MB, free: 6.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001328/0.01213, allocations: 84.38 kB / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.01215, allocations: 4 kB / 252.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01216, allocations: 0 / 252.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.01218, allocations: 4 kB / 252.4 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.0123, allocations: 15.98 kB / 252.4 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01231, allocations: 0 / 252.4 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.01237, allocations: 11.92 kB / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01238, allocations: 0 / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001154/0.01249, allocations: 129.6 kB / 252.6 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.01257, allocations: 57.61 kB / 252.6 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.01272, allocations: 83.41 kB / 252.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01273, allocations: 0 / 252.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01273, allocations: 4 kB / 252.7 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01273, allocations: 4 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.0129, allocations: 121.8 kB / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01291, allocations: 0 / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.01299, allocations: 19.98 kB / 252.9 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.01307, allocations: 43.67 kB / 252.9 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01307, allocations: 4.062 kB / 252.9 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01308, allocations: 4 kB / 252.9 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01308, allocations: 0 / 252.9 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01309, allocations: 3.938 kB / 252.9 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01324, allocations: 121.3 kB / 253 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01326, allocations: 3.938 kB / 253 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.01332, allocations: 11.98 kB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01336, allocations: 7.984 kB / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.01338, allocations: 11.98 kB / 253.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.01349, allocations: 103.5 kB / 253.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01349, allocations: 0 / 253.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.01371, allocations: 28 kB / 253.2 MB, free: 5.184 MB / 250.7 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.001628/0.01533, allocations: 0.5586 MB / 253.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.0155, allocations: 48.77 kB / 253.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.01552, allocations: 4 kB / 253.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.01558, allocations: 36.91 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.01602, allocations: 358.9 kB / 254.2 MB, free: 4.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.01683, allocations: 360.6 kB / 254.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.0169, allocations: 87.97 kB / 254.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.01698, allocations: 18.06 kB / 254.7 MB, free: 3.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.01711, allocations: 87.36 kB / 254.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of SimCode: time 2.064e-06/0.01711, allocations: 0 / 254.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Templates: time 0.007214/0.02433, allocations: 3.349 MB / 258.1 MB, free: 452 kB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5500163920223713]