Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001339/0.001339, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001482/0.001482, allocations: 213.6 kB / 23 MB, free: 5.629 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.581/1.581, allocations: 230.2 MB / 256.2 MB, free: 8.559 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.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3926, allocations: 53.31 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003534/0.3961, allocations: 1.636 MB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3973, allocations: 0.5609 MB / 432 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.3974, allocations: 0 / 432 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.3975, allocations: 7.922 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3976, allocations: 15.88 kB / 432 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.398, allocations: 63.8 kB / 432.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3981, allocations: 51.84 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3982, allocations: 8 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3983, allocations: 31.84 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.3984, allocations: 27.86 kB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3984, allocations: 4 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.3985, allocations: 4 kB / 432.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.3985, allocations: 15.92 kB / 432.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3986, allocations: 43.72 kB / 432.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3988, allocations: 64.94 kB / 432.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3988, allocations: 0 / 432.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3988, allocations: 0 / 432.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3988, allocations: 0 / 432.3 MB, free: 5.008 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005988/0.3994, allocations: 387 kB / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3994, allocations: 8.031 kB / 432.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3996, allocations: 16.88 kB / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3998, allocations: 204.2 kB / 432.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3999, allocations: 4.375 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3999, allocations: 8.312 kB / 432.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.4002, allocations: 146.1 kB / 433.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4002, allocations: 0 / 433.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4002, allocations: 0 / 433.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4002, allocations: 0 / 433.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.4003, allocations: 27.92 kB / 433.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4007, allocations: 282.6 kB / 433.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.401, allocations: 160.9 kB / 433.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.4011, allocations: 34.62 kB / 433.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4011, allocations: 0 / 433.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.4012, allocations: 46.5 kB / 433.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.4012, allocations: 0 / 433.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003378/0.4015, allocations: 97.48 kB / 433.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.4016, allocations: 106.8 kB / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4017, allocations: 140.8 kB / 434 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4018, allocations: 29.7 kB / 434 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.4018, allocations: 92.14 kB / 434.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4018, allocations: 7.938 kB / 434.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.4019, allocations: 25.67 kB / 434.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4021, allocations: 322.8 kB / 434.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.4021, allocations: 12 kB / 434.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.4022, allocations: 52.22 kB / 434.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.4023, allocations: 60.22 kB / 434.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4023, allocations: 0 / 434.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001683/0.4025, allocations: 89.59 kB / 434.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4025, allocations: 4 kB / 434.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4025, allocations: 7.938 kB / 434.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4025, allocations: 0 / 434.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.4026, allocations: 8 kB / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4026, allocations: 4.141 kB / 434.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.4027, allocations: 15.88 kB / 434.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4027, allocations: 4 kB / 434.7 MB, free: 2.328 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001362/0.4028, allocations: 125.9 kB / 434.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.4029, allocations: 65.52 kB / 434.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.4029, allocations: 12.25 kB / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4029, allocations: 0 / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.403, allocations: 7.984 kB / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.403, allocations: 0 / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.4032, allocations: 173.6 kB / 435.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4032, allocations: 0 / 435.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.4032, allocations: 11.98 kB / 435.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4032, allocations: 0 / 435.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4032, allocations: 8.281 kB / 435.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4032, allocations: 0 / 435.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4032, allocations: 0 / 435.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.4035, allocations: 197.1 kB / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.4036, allocations: 93.05 kB / 435.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4036, allocations: 11.98 kB / 435.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.4037, allocations: 0 / 435.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.4037, allocations: 4 kB / 435.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.4037, allocations: 3.938 kB / 435.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.4038, allocations: 115.2 kB / 435.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4038, allocations: 0 / 435.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.404, allocations: 4 kB / 435.5 MB, free: 1.395 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001356/0.4041, allocations: 99.25 kB / 435.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.4043, allocations: 55.78 kB / 435.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4043, allocations: 0 / 435.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.4044, allocations: 15.98 kB / 435.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.4047, allocations: 22.42 kB / 435.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.4052, allocations: 216.5 kB / 435.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4055, allocations: 0.6963 MB / 436.6 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.4056, allocations: 11.77 kB / 436.6 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4056, allocations: 11.44 kB / 436.6 MB, free: 216 kB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4056, allocations: 0 / 436.6 MB, free: 216 kB / 334.1 MB Notification: Performance of Templates: time 0.003478/0.4091, allocations: 0.6613 MB / 437.3 MB, free: 15.56 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.896658396348357]