Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001508/0.001508, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001661/0.001661, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.91 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2827, allocations: 53.41 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003957/0.2867, allocations: 1.888 MB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2893, allocations: 1.235 MB / 434.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2895, allocations: 7.938 kB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.2899, allocations: 71.61 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.2904, allocations: 139.4 kB / 435 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007286/0.2911, allocations: 230.6 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2914, allocations: 191.5 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2916, allocations: 17.73 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.2917, allocations: 91.56 kB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2919, allocations: 79.67 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.2919, allocations: 8 kB / 435.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2921, allocations: 79.88 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.2922, allocations: 51.77 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/0.2923, allocations: 59.61 kB / 435.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.2927, allocations: 257.1 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2927, allocations: 4 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2927, allocations: 7.938 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2927, allocations: 3.984 kB / 436 MB, free: 2.129 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.000827/0.2935, allocations: 478.5 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2935, allocations: 11.98 kB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.2936, allocations: 28.75 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.294, allocations: 229.4 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2941, allocations: 8.375 kB / 436.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.2941, allocations: 12.36 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.2945, allocations: 200.7 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2945, allocations: 0 / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2945, allocations: 4 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2945, allocations: 4 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.2947, allocations: 43.91 kB / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.2954, allocations: 406.2 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.2958, allocations: 142.5 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.2959, allocations: 59.41 kB / 437.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2959, allocations: 4 kB / 437.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.2962, allocations: 101 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.2962, allocations: 0 / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004962/0.2967, allocations: 169.7 kB / 437.9 MB, free: 64 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.2968, allocations: 166.3 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2973, allocations: 344.2 kB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2973, allocations: 33.64 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.2975, allocations: 136.3 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2975, allocations: 23.91 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.2976, allocations: 37.64 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2978, allocations: 334.8 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.2979, allocations: 27.98 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.298, allocations: 146.2 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2982, allocations: 101.1 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2982, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002732/0.2985, allocations: 141.4 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2985, allocations: 4 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2985, allocations: 4.156 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2985, allocations: 4 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2987, allocations: 23.92 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2987, allocations: 7.984 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.2988, allocations: 11.95 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2988, allocations: 4 kB / 439.4 MB, free: 14.41 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.0001556/0.2989, allocations: 162 kB / 439.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.299, allocations: 69.5 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2993, allocations: 131.4 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2993, allocations: 7.938 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2993, allocations: 4 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2993, allocations: 7.984 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2996, allocations: 181.1 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2996, allocations: 0 / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.2996, allocations: 19.98 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2996, allocations: 0 / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2997, allocations: 8 kB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2997, allocations: 3.984 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2997, allocations: 0 / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3, allocations: 199.3 kB / 440.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.3001, allocations: 39.84 kB / 440.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3001, allocations: 7.984 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.3002, allocations: 4 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.3002, allocations: 11.98 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3003, allocations: 8 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.3005, allocations: 247 kB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3005, allocations: 4 kB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3008, allocations: 35.94 kB / 440.5 MB, free: 13.2 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.001738/0.3026, allocations: 453.7 kB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.3028, allocations: 79.89 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.3029, allocations: 4 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.303, allocations: 39.92 kB / 441.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3034, allocations: 76.47 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.3042, allocations: 397.7 kB / 441.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3043, allocations: 136.2 kB / 441.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.968e-05/0.3044, allocations: 25.78 kB / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.3045, allocations: 31.42 kB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3045, allocations: 0 / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.008326/0.3128, allocations: 3.243 MB / 445 MB, free: 8.875 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.616177346557379]