Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0007742/0.0007742, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001912, allocations: 457.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.001009/0.001009, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002404, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9993/0.9993, allocations: 177.5 MB / 190 MB, free: 4.746 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09775/1.097, allocations: 53.87 MB / 243.9 MB, free: 14.8 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.62e-05, allocations: 2.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002186/0.002202, allocations: 2.018 MB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003529, allocations: 1.214 MB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.00362, allocations: 3.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.003966, allocations: 151.4 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.004198, allocations: 171.1 kB / 248.8 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.004478, allocations: 175.3 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.004675, allocations: 199.4 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.004749, allocations: 38.33 kB / 249.2 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.005151, allocations: 139.6 kB / 249.3 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.005238, allocations: 67.8 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.005255, allocations: 8 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.005364, allocations: 63.89 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.005414, allocations: 39.86 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.005451, allocations: 35.88 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005642, allocations: 151.4 kB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.005651, allocations: 0 / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005652, allocations: 0 / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.005662, allocations: 0 / 249.7 MB, free: 9.051 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.0004726/0.006134, allocations: 476.8 kB / 250.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.006163, allocations: 8.031 kB / 250.1 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.006207, allocations: 16.92 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.006423, allocations: 209.6 kB / 250.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006439, allocations: 4.375 kB / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006459, allocations: 8.375 kB / 250.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.006647, allocations: 138 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.006657, allocations: 192 / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.006666, allocations: 8.359 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.006674, allocations: 7.938 kB / 250.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.006713, allocations: 26.75 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.006998, allocations: 287.8 kB / 250.8 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.007117, allocations: 153.2 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.007151, allocations: 35.42 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.007169, allocations: 4 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.007272, allocations: 99.72 kB / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.007273, allocations: 4 kB / 251.1 MB, free: 7.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001371/0.00741, allocations: 92.42 kB / 251.2 MB, free: 7.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.007506, allocations: 140.5 kB / 251.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.007723, allocations: 234.6 kB / 251.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.007752, allocations: 29.7 kB / 251.6 MB, free: 6.871 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.007801, allocations: 104.9 kB / 251.7 MB, free: 6.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.007824, allocations: 15.86 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.007863, allocations: 29.69 kB / 251.7 MB, free: 6.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.007947, allocations: 331.2 kB / 252.1 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.007978, allocations: 14.83 kB / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.008019, allocations: 61.11 kB / 252.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.008073, allocations: 44.16 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008075, allocations: 0 / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.109e-05/0.008166, allocations: 72.44 kB / 252.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008181, allocations: 7.938 kB / 252.3 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.008188, allocations: 4 kB / 252.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.008201, allocations: 4.094 kB / 252.3 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.00828, allocations: 15.92 kB / 252.3 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.008283, allocations: 4 kB / 252.3 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.008338, allocations: 7.938 kB / 252.3 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.008345, allocations: 0 / 252.3 MB, free: 6.109 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 9.277e-05/0.008438, allocations: 121.3 kB / 252.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.008502, allocations: 61.56 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.00862, allocations: 79.73 kB / 252.5 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008623, allocations: 0 / 252.5 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008626, allocations: 4.062 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.008632, allocations: 8 kB / 252.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.008754, allocations: 109.8 kB / 252.7 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.008756, allocations: 0 / 252.7 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.008786, allocations: 11.94 kB / 252.7 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.008836, allocations: 27.88 kB / 252.7 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008839, allocations: 0 / 252.7 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008848, allocations: 11.94 kB / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00885, allocations: 0 / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008851, allocations: 0 / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.008968, allocations: 117.2 kB / 252.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.008988, allocations: 8 kB / 252.8 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.009037, allocations: 7.938 kB / 252.8 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.009073, allocations: 11.98 kB / 252.9 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.009088, allocations: 4 kB / 252.9 MB, free: 5.469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.009168, allocations: 89.58 kB / 253 MB, free: 5.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009168, allocations: 0 / 253 MB, free: 5.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.009322, allocations: 35.89 kB / 253 MB, free: 5.34 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.001177/0.0105, allocations: 0.5505 MB / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.01063, allocations: 48.7 kB / 253.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01064, allocations: 4 kB / 253.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.01068, allocations: 20.86 kB / 253.6 MB, free: 4.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.011, allocations: 364.9 kB / 254 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01156, allocations: 320.2 kB / 254.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/0.01161, allocations: 87.97 kB / 254.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.01166, allocations: 21.48 kB / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.01175, allocations: 79.34 kB / 254.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01175, allocations: 0 / 254.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of Templates: time 0.004924/0.01667, allocations: 3.001 MB / 257.5 MB, free: 1.016 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.6192786302417517]