Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001064/0.001064, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002505, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006448/0.0006448, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009053/0.00155, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9374/0.9374, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2093/1.147, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] 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.BooleanSignals.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.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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.611e-05, allocations: 3.094 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002958/0.002984, allocations: 1.979 MB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004459, allocations: 1.076 MB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.00459, allocations: 9.438 kB / 242.8 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.005076, allocations: 151.3 kB / 243 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.005322, allocations: 125.3 kB / 243.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.005788, allocations: 212.5 kB / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.00602, allocations: 187.4 kB / 243.5 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.006133, allocations: 24.5 kB / 243.5 MB, free: 2.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.006309, allocations: 132.5 kB / 243.6 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.006422, allocations: 67.8 kB / 243.7 MB, free: 2.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.006448, allocations: 8 kB / 243.7 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.006587, allocations: 63.83 kB / 243.8 MB, free: 2.363 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.006653, allocations: 39.81 kB / 243.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.0067, allocations: 33.91 kB / 243.8 MB, free: 2.293 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.006937, allocations: 155.4 kB / 244 MB, free: 2.141 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.006952, allocations: 0 / 244 MB, free: 2.141 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.006953, allocations: 0 / 244 MB, free: 2.141 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.006965, allocations: 0 / 244 MB, free: 2.141 MB / 234.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.0006483/0.007613, allocations: 454.1 kB / 244.4 MB, free: 1.668 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.00765, allocations: 8.031 kB / 244.4 MB, free: 1.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.0077, allocations: 20.92 kB / 244.4 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.007936, allocations: 207.7 kB / 244.7 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.007959, allocations: 8.375 kB / 244.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.007976, allocations: 8.125 kB / 244.7 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.008212, allocations: 140.2 kB / 244.8 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.008223, allocations: 0 / 244.8 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008233, allocations: 7.938 kB / 244.8 MB, free: 1.227 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.008247, allocations: 4 kB / 244.8 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.008287, allocations: 20 kB / 244.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.008616, allocations: 295.7 kB / 245.1 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.008765, allocations: 150.4 kB / 245.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.008805, allocations: 40.78 kB / 245.3 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.008831, allocations: 11.94 kB / 245.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.008962, allocations: 75.94 kB / 245.4 MB, free: 0.543 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.008964, allocations: 1 kB / 245.4 MB, free: 0.543 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001712/0.009135, allocations: 93.3 kB / 245.5 MB, free: 456 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.009197, allocations: 141.3 kB / 245.6 MB, free: 284 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.00935, allocations: 234.6 kB / 245.9 MB, free: 36 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.009369, allocations: 26.3 kB / 245.9 MB, free: 4 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.009433, allocations: 104.4 kB / 246 MB, free: 15.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.009456, allocations: 21.94 kB / 246 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.009493, allocations: 33.64 kB / 246 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.009581, allocations: 330.7 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.009596, allocations: 6.828 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.009643, allocations: 65.06 kB / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.00969, allocations: 49.83 kB / 246.5 MB, free: 15.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.009693, allocations: 0 / 246.5 MB, free: 15.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001043/0.009798, allocations: 68.94 kB / 246.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.009813, allocations: 10.47 kB / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.009817, allocations: 0 / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.009833, allocations: 0 / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.009906, allocations: 15.98 kB / 246.6 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.009911, allocations: 0 / 246.6 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.009962, allocations: 4 kB / 246.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.009973, allocations: 8.469 kB / 246.6 MB, free: 15.25 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.273e-05/0.01007, allocations: 132.8 kB / 246.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.01013, allocations: 53.62 kB / 246.8 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.01027, allocations: 75.44 kB / 246.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01027, allocations: 0 / 246.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.01027, allocations: 8 kB / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01028, allocations: 0 / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.01042, allocations: 113.7 kB / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.01043, allocations: 3.938 kB / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.01047, allocations: 11.98 kB / 247 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.01052, allocations: 27.89 kB / 247 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01052, allocations: 8 kB / 247 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.01053, allocations: 0 / 247 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01053, allocations: 4 kB / 247 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01053, allocations: 0 / 247 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.01066, allocations: 121.3 kB / 247.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.01068, allocations: 7.969 kB / 247.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.01073, allocations: 4 kB / 247.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.01077, allocations: 11.98 kB / 247.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01078, allocations: 7.938 kB / 247.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.01087, allocations: 77.61 kB / 247.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01087, allocations: 4 kB / 247.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01106, allocations: 31.94 kB / 247.3 MB, free: 14.49 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.001504/0.01256, allocations: 0.56 MB / 247.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01267, allocations: 48.72 kB / 247.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01268, allocations: 0 / 247.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.01272, allocations: 33.02 kB / 247.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01307, allocations: 384.2 kB / 248.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.01363, allocations: 316.7 kB / 248.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01369, allocations: 83.89 kB / 248.7 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.01373, allocations: 17.72 kB / 248.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.01382, allocations: 75.7 kB / 248.8 MB, free: 13.14 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01382, allocations: 4 kB / 248.8 MB, free: 13.14 MB / 250.7 MB Notification: Performance of Templates: time 0.005/0.01882, allocations: 2.964 MB / 251.7 MB, free: 10.23 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.703119058161974]