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.0007541/0.0007541, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001798, allocations: 449.7 kB / 10.37 MB, free: 332 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.0008927/0.0008927, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001961, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9114/0.9114, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08457/0.996, allocations: 52.5 MB / 238.3 MB, free: 4.422 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.713e-06/1.713e-06, allocations: 3.938 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.234e-05, allocations: 2.875 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004035/0.004058, allocations: 1.969 MB / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.005819, allocations: 1.082 MB / 242.6 MB, free: 104 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.005957, allocations: 7.938 kB / 242.6 MB, free: 96 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.006474, allocations: 139.7 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.006781, allocations: 135.4 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.007345, allocations: 211.2 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.007627, allocations: 183.5 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.007734, allocations: 26.39 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.007955, allocations: 128.5 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.008084, allocations: 67.8 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.008108, allocations: 8 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.008282, allocations: 67.83 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.00835, allocations: 39.86 kB / 243.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.008403, allocations: 31.88 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.008676, allocations: 147.4 kB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.008692, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008693, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.008709, allocations: 0 / 243.8 MB, free: 14.93 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.0006284/0.009338, allocations: 460.9 kB / 244.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.009369, allocations: 8.031 kB / 244.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.009418, allocations: 16.92 kB / 244.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.009705, allocations: 213.5 kB / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.009726, allocations: 8.312 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.009741, allocations: 12.12 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.009984, allocations: 141.4 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.009992, allocations: 0 / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.01, allocations: 3.984 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01001, allocations: 4 kB / 244.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.01006, allocations: 30.73 kB / 244.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.01041, allocations: 283.7 kB / 244.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.01057, allocations: 153.2 kB / 245.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.01062, allocations: 39.42 kB / 245.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.01065, allocations: 4 kB / 245.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.01079, allocations: 87.86 kB / 245.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.01079, allocations: 0 / 245.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001907/0.01098, allocations: 96.34 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.01104, allocations: 132.5 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.01124, allocations: 230.6 kB / 245.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.01127, allocations: 29.7 kB / 245.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.01132, allocations: 108.3 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.01135, allocations: 20.2 kB / 245.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.01139, allocations: 33.66 kB / 245.8 MB, free: 12.6 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01151, allocations: 334.7 kB / 246.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.01153, allocations: 6.828 kB / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.01159, allocations: 65.06 kB / 246.2 MB, free: 12.17 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.01166, allocations: 48.47 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.01167, allocations: 0 / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001214/0.01179, allocations: 64.44 kB / 246.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.01181, allocations: 12.03 kB / 246.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01181, allocations: 4 kB / 246.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.01182, allocations: 0 / 246.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.01191, allocations: 19.98 kB / 246.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01192, allocations: 3.938 kB / 246.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.01198, allocations: 4 kB / 246.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.01199, allocations: 0 / 246.4 MB, free: 12 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.0001111/0.0121, allocations: 132.6 kB / 246.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.01218, allocations: 49.62 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.01234, allocations: 83.44 kB / 246.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01234, allocations: 0 / 246.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.01235, allocations: 4 kB / 246.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01235, allocations: 0 / 246.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.01254, allocations: 113.7 kB / 246.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.01254, allocations: 3.938 kB / 246.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.01259, allocations: 11.98 kB / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.01266, allocations: 23.89 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01266, allocations: 4 kB / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.01267, allocations: 0 / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01267, allocations: 4 kB / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01268, allocations: 4 kB / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.01281, allocations: 125.2 kB / 246.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01284, allocations: 0 / 246.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.786e-05/0.0129, allocations: 8.062 kB / 246.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01293, allocations: 11.98 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.01294, allocations: 4 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.446e-05/0.01304, allocations: 81.61 kB / 247 MB, free: 11.28 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01304, allocations: 0 / 247 MB, free: 11.28 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01326, allocations: 31.94 kB / 247.1 MB, free: 11.25 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.001712/0.01498, allocations: 0.5644 MB / 247.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01512, allocations: 52.64 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.01513, allocations: 0 / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.01517, allocations: 24.84 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01548, allocations: 88.38 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.0162, allocations: 321.2 kB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.01626, allocations: 75.98 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.01632, allocations: 13.48 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.01644, allocations: 91.28 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01644, allocations: 0 / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Templates: time 0.006639/0.02308, allocations: 2.95 MB / 251.2 MB, free: 7.352 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.390984878875315]