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.001767/0.001767, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001613/0.001613, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001946/0.001946, allocations: 67.88 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003662/0.2894, allocations: 1.903 MB / 434.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2915, allocations: 1.161 MB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2916, allocations: 7.938 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.2923, allocations: 151.5 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.2927, allocations: 163.3 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.2932, allocations: 175.5 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2934, allocations: 195.4 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2935, allocations: 29.59 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2937, allocations: 79.69 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2938, allocations: 83.55 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2938, allocations: 12 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.294, allocations: 59.95 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.2941, allocations: 43.84 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.2942, allocations: 51.61 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.2945, allocations: 229.8 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2945, allocations: 0 / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2945, allocations: 7.938 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2945, allocations: 0 / 436.7 MB, free: 2.191 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.0007807/0.2953, allocations: 454.7 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2953, allocations: 15.92 kB / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.2954, allocations: 24.8 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2958, allocations: 217.1 kB / 437.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2958, allocations: 4.375 kB / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2958, allocations: 16.38 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.2962, allocations: 158.1 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2962, allocations: 0 / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2962, allocations: 4 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2962, allocations: 3.938 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2963, allocations: 35.98 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2968, allocations: 378.3 kB / 438 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2971, allocations: 134.5 kB / 438.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.2972, allocations: 59.36 kB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2972, allocations: 0 / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.2974, allocations: 105.1 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2974, allocations: 3.938 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003919/0.2978, allocations: 165.8 kB / 438.4 MB, free: 264 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.2979, allocations: 140.5 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2982, allocations: 281 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2982, allocations: 25.7 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.2983, allocations: 116.4 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.2983, allocations: 19.89 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2984, allocations: 37.66 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2985, allocations: 330.8 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.2986, allocations: 31.92 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.2987, allocations: 102.9 kB / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2989, allocations: 97.17 kB / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2989, allocations: 0 / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.2991, allocations: 125.4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2992, allocations: 8.156 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2992, allocations: 4 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2992, allocations: 4 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.2993, allocations: 15.98 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2993, allocations: 4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.2993, allocations: 11.89 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2994, allocations: 4 kB / 439.8 MB, free: 14.81 MB / 350.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.0001421/0.2995, allocations: 149.7 kB / 439.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.2996, allocations: 69.55 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.2998, allocations: 123.4 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2998, allocations: 3.938 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2998, allocations: 4 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2998, allocations: 320 / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3, allocations: 173.2 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3, allocations: 4 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.3001, allocations: 11.98 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3001, allocations: 0 / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3001, allocations: 4 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3001, allocations: 3.938 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3001, allocations: 4 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.3004, allocations: 187.4 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.3004, allocations: 35.78 kB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3005, allocations: 7.984 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.3005, allocations: 8 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3006, allocations: 7.984 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3006, allocations: 4 kB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.3008, allocations: 208.4 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3008, allocations: 0 / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3011, allocations: 32 kB / 440.8 MB, free: 13.71 MB / 350.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 (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.001633/0.3027, allocations: 440.7 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3029, allocations: 75.91 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3029, allocations: 4 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.303, allocations: 31.92 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3034, allocations: 86.52 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.304, allocations: 375.7 kB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3042, allocations: 123.6 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.3042, allocations: 19.44 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3042, allocations: 0 / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.005734/0.31, allocations: 2.808 MB / 444.7 MB, free: 9.859 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 7.573082039132714]