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.00119/0.00119, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.002953, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001386/0.001386, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005561/0.006948, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.147/1.147, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09597/1.243, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.567e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003385/0.003411, allocations: 2.013 MB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.005293, allocations: 1.289 MB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.005439, allocations: 7.938 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.005748, allocations: 67.61 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.006079, allocations: 135.4 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.006721, allocations: 231 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.007002, allocations: 191.5 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.007101, allocations: 22.45 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.007296, allocations: 140.4 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.007407, allocations: 67.8 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.007429, allocations: 12 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.007615, allocations: 75.88 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.007687, allocations: 47.8 kB / 248.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.007736, allocations: 31.88 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.008011, allocations: 183.2 kB / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.008028, allocations: 0 / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008029, allocations: 0 / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.008046, allocations: 4 kB / 249 MB, free: 9.812 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.0006199/0.008666, allocations: 484.7 kB / 249.5 MB, free: 9.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.008699, allocations: 16.02 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.008746, allocations: 20.92 kB / 249.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.008989, allocations: 208.8 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.009007, allocations: 384 / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.009022, allocations: 20.11 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.009249, allocations: 146.2 kB / 249.9 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.009257, allocations: 3.938 kB / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.009267, allocations: 7.984 kB / 249.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.009274, allocations: 0 / 249.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.009317, allocations: 26.73 kB / 249.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.009656, allocations: 303.6 kB / 250.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.009796, allocations: 164 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.009831, allocations: 35.42 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.009851, allocations: 4 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.00996, allocations: 91.84 kB / 250.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.009961, allocations: 0 / 250.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001674/0.01013, allocations: 96.67 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.01018, allocations: 140.6 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01035, allocations: 268.6 kB / 251 MB, free: 7.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01038, allocations: 29.7 kB / 251 MB, free: 7.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.01058, allocations: 104.9 kB / 251.1 MB, free: 7.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.0106, allocations: 19.89 kB / 251.2 MB, free: 7.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.01064, allocations: 29.66 kB / 251.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.01072, allocations: 342.7 kB / 251.5 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.01074, allocations: 10.77 kB / 251.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.01078, allocations: 65.11 kB / 251.6 MB, free: 6.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.01084, allocations: 48.19 kB / 251.6 MB, free: 6.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01084, allocations: 0 / 251.6 MB, free: 6.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.826e-05/0.01093, allocations: 72.44 kB / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01095, allocations: 15.58 kB / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01095, allocations: 0 / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.01096, allocations: 0 / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.01104, allocations: 16 kB / 251.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01105, allocations: 3.984 kB / 251.7 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.01109, allocations: 12 kB / 251.8 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.0111, allocations: 0 / 251.8 MB, free: 6.762 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 7.613e-05/0.01117, allocations: 128.5 kB / 251.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.01122, allocations: 57.67 kB / 251.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.01134, allocations: 83.39 kB / 252 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01134, allocations: 4 kB / 252 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01134, allocations: 0 / 252 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.01135, allocations: 4.312 kB / 252 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.01147, allocations: 113.8 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.01147, allocations: 16 kB / 252.2 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.01152, allocations: 15.98 kB / 252.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.01157, allocations: 43.73 kB / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01157, allocations: 0 / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01158, allocations: 0 / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01158, allocations: 4 kB / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01158, allocations: 0 / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.01168, allocations: 125.2 kB / 252.3 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.0117, allocations: 4 kB / 252.3 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.01174, allocations: 8 kB / 252.3 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.01177, allocations: 15.97 kB / 252.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01179, allocations: 4 kB / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.01186, allocations: 99.47 kB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01186, allocations: 0 / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.01203, allocations: 32 kB / 252.5 MB, free: 5.941 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.001296/0.01333, allocations: 0.5646 MB / 253.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01343, allocations: 56.7 kB / 253.1 MB, free: 5.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.01344, allocations: 4 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.01348, allocations: 24.84 kB / 253.1 MB, free: 5.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01372, allocations: 93.67 kB / 253.2 MB, free: 5.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.01429, allocations: 352.8 kB / 253.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.01434, allocations: 87.97 kB / 253.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.0144, allocations: 21.86 kB / 253.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.01449, allocations: 91.28 kB / 253.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01449, allocations: 0 / 253.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of Templates: time 0.005397/0.01989, allocations: 3.324 MB / 257.1 MB, free: 1.59 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723971663042903]