Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002696/0.002696, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3241, allocations: 52.14 MB / 420.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00404/0.3282, allocations: 1.928 MB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3304, allocations: 1.184 MB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3305, allocations: 7.938 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.3308, allocations: 59.66 kB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3311, allocations: 99.58 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.3319, allocations: 266.1 kB / 424.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3322, allocations: 175.5 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3323, allocations: 21.55 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3325, allocations: 83.62 kB / 424.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3326, allocations: 79.67 kB / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3327, allocations: 12 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3328, allocations: 63.95 kB / 424.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.3329, allocations: 63.64 kB / 424.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.333, allocations: 75.48 kB / 424.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3334, allocations: 252.2 kB / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3335, allocations: 4 kB / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3335, allocations: 0 / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3335, allocations: 0 / 425.2 MB, free: 10.75 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.0008648/0.3343, allocations: 0.5457 MB / 425.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3344, allocations: 11.89 kB / 425.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.3344, allocations: 28.75 kB / 425.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.3349, allocations: 291.8 kB / 426.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.335, allocations: 12.31 kB / 426.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.335, allocations: 8.125 kB / 426.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.3354, allocations: 180.4 kB / 426.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3354, allocations: 0 / 426.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3354, allocations: 0 / 426.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3354, allocations: 4 kB / 426.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3356, allocations: 43.91 kB / 426.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.3363, allocations: 474.5 kB / 426.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3366, allocations: 138.5 kB / 426.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3367, allocations: 55.42 kB / 427 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3367, allocations: 3.984 kB / 427 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3369, allocations: 97.03 kB / 427.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3369, allocations: 8 kB / 427.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004423/0.3374, allocations: 165.4 kB / 427.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3375, allocations: 183.9 kB / 427.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.3379, allocations: 330.6 kB / 427.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3379, allocations: 33.7 kB / 427.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.338, allocations: 128.8 kB / 427.9 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3381, allocations: 19.91 kB / 427.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.3381, allocations: 37.66 kB / 427.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3383, allocations: 338.8 kB / 428.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.3384, allocations: 27.98 kB / 428.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3385, allocations: 95.66 kB / 428.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3387, allocations: 97.06 kB / 428.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3387, allocations: 0 / 428.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.339, allocations: 141.7 kB / 428.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.339, allocations: 6.969 kB / 428.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.339, allocations: 0 / 428.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.339, allocations: 4 kB / 428.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3392, allocations: 31.86 kB / 428.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3392, allocations: 4 kB / 428.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.3393, allocations: 23.8 kB / 428.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3393, allocations: 4.156 kB / 428.7 MB, free: 6.855 MB / 334.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.0001848/0.3395, allocations: 162.3 kB / 428.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3396, allocations: 73.48 kB / 428.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3399, allocations: 115.4 kB / 429 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3399, allocations: 7.938 kB / 429.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3399, allocations: 3.984 kB / 429.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3399, allocations: 3.984 kB / 429.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3402, allocations: 253.6 kB / 429.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3402, allocations: 0 / 429.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3402, allocations: 15.98 kB / 429.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3402, allocations: 0 / 429.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3403, allocations: 4 kB / 429.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3403, allocations: 0 / 429.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3403, allocations: 4 kB / 429.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3406, allocations: 195.3 kB / 429.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3407, allocations: 112.9 kB / 429.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3408, allocations: 11.98 kB / 429.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3408, allocations: 4 kB / 429.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.3409, allocations: 15.92 kB / 429.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3409, allocations: 4 kB / 429.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3412, allocations: 237.9 kB / 429.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3412, allocations: 4 kB / 429.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.3415, allocations: 39.98 kB / 429.9 MB, free: 5.496 MB / 334.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.001549/0.343, allocations: 412.7 kB / 430.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.3433, allocations: 87.77 kB / 430.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3433, allocations: 0 / 430.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3434, allocations: 40.3 kB / 430.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3439, allocations: 74.28 kB / 430.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.3446, allocations: 393.5 kB / 430.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.345, allocations: 0.7478 MB / 431.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.659e-05/0.3451, allocations: 29.52 kB / 431.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.3452, allocations: 23.44 kB / 431.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3452, allocations: 0 / 431.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Templates: time 0.007627/0.3528, allocations: 2.966 MB / 434.7 MB, free: 0.8633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.24217377230525]