Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 204.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2755, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00366/0.2792, allocations: 1.907 MB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2816, allocations: 1.161 MB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2818, allocations: 7.938 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.2826, allocations: 147.5 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.2832, allocations: 163.4 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.2839, allocations: 182.7 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.2843, allocations: 199.4 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2845, allocations: 25.59 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.2846, allocations: 79.69 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2848, allocations: 83.56 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2849, allocations: 8 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2851, allocations: 63.95 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2852, allocations: 43.84 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2853, allocations: 63.53 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.2858, allocations: 225.8 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2858, allocations: 4 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2858, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2858, allocations: 0 / 436.7 MB, free: 2.387 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.0009863/0.2868, allocations: 458.6 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2868, allocations: 15.97 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.2869, allocations: 20.8 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.2874, allocations: 213.2 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2874, allocations: 4.375 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.2874, allocations: 16.12 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.2879, allocations: 162 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2879, allocations: 0 / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2879, allocations: 4 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2879, allocations: 4 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.2881, allocations: 35.92 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.2888, allocations: 378.3 kB / 437.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.2892, allocations: 142.5 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2894, allocations: 55.42 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.2894, allocations: 7.984 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.2897, allocations: 93.03 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.2897, allocations: 0 / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006149/0.2903, allocations: 169.5 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.2904, allocations: 136.5 kB / 438.5 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.2909, allocations: 281 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.291, allocations: 29.7 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2911, allocations: 120.4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.2911, allocations: 15.91 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.2912, allocations: 37.66 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2914, allocations: 330.8 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2915, allocations: 27.92 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2917, allocations: 104 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.292, allocations: 97.02 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.292, allocations: 0 / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003493/0.2923, allocations: 125.5 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2923, allocations: 8.188 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2924, allocations: 4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2924, allocations: 0 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2925, allocations: 19.98 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2925, allocations: 0 / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2926, allocations: 19.83 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2926, allocations: 4 kB / 439.7 MB, free: 15 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.0001831/0.2928, allocations: 145.8 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.2929, allocations: 77.45 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.2933, allocations: 115.4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2933, allocations: 4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2933, allocations: 320 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2933, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.2935, allocations: 177.2 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2935, allocations: 0 / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.2936, allocations: 11.94 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2936, allocations: 0 / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2936, allocations: 4 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2936, allocations: 0 / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2936, allocations: 8.031 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.294, allocations: 187.3 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.2941, allocations: 39.77 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2942, allocations: 8 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.2943, allocations: 8 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.2943, allocations: 3.984 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2943, allocations: 8 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.2946, allocations: 200.5 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2946, allocations: 0 / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.2951, allocations: 35.98 kB / 440.7 MB, free: 13.91 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.002177/0.2973, allocations: 458.6 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.2976, allocations: 79.84 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2976, allocations: 0 / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2977, allocations: 31.98 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.2983, allocations: 68.59 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.2992, allocations: 383.5 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.2994, allocations: 123.6 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.2995, allocations: 15.44 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2995, allocations: 0 / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Templates: time 0.007405/0.3069, allocations: 2.812 MB / 444.7 MB, free: 10.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.354024580010446]