Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001743/0.001743, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002135/0.002135, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.642/1.642, allocations: 230.3 MB / 258 MB, free: 8.273 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.88 kB / 378.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3941, allocations: 53.36 MB / 432.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002375/0.3964, allocations: 0.8594 MB / 433 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.3968, allocations: 119.6 kB / 433.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.3969, allocations: 7.938 kB / 433.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.719e-05/0.397, allocations: 7.938 kB / 433.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3971, allocations: 11.92 kB / 433.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.3973, allocations: 35.91 kB / 433.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3974, allocations: 43.91 kB / 433.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3975, allocations: 19.98 kB / 433.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.3976, allocations: 19.88 kB / 433.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.3977, allocations: 23.84 kB / 433.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3977, allocations: 4 kB / 433.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3977, allocations: 4 kB / 433.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.3977, allocations: 15.92 kB / 433.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3978, allocations: 35.73 kB / 433.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.3979, allocations: 59.45 kB / 433.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3979, allocations: 0 / 433.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3979, allocations: 3.938 kB / 433.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3979, allocations: 0 / 433.4 MB, free: 5.855 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004724/0.3984, allocations: 304 kB / 433.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3984, allocations: 8.031 kB / 433.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3985, allocations: 12.84 kB / 433.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3987, allocations: 137 kB / 433.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3987, allocations: 8.375 kB / 433.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3987, allocations: 4.375 kB / 433.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.399, allocations: 151.7 kB / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.399, allocations: 192 / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.399, allocations: 7.875 kB / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.399, allocations: 0 / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/0.3991, allocations: 27.92 kB / 434 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3992, allocations: 144.7 kB / 434.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3994, allocations: 74.7 kB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.3994, allocations: 40.88 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3995, allocations: 0 / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3995, allocations: 38.5 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.3995, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002032/0.3997, allocations: 101.6 kB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3998, allocations: 59.72 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3999, allocations: 137.8 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3999, allocations: 25.7 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.4, allocations: 88.12 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4, allocations: 11.95 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.4, allocations: 25.7 kB / 434.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4002, allocations: 314.8 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.4003, allocations: 15.92 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4004, allocations: 58.88 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.4005, allocations: 82.67 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4005, allocations: 0 / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001401/0.4006, allocations: 85.73 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4006, allocations: 15.97 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4006, allocations: 0 / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4006, allocations: 7.984 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.4007, allocations: 15.94 kB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4007, allocations: 7.984 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.4008, allocations: 0 / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.4008, allocations: 12 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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.0001204/0.4009, allocations: 129.7 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.4011, allocations: 89.72 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.4011, allocations: 16.7 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4011, allocations: 0 / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4011, allocations: 0 / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4011, allocations: 0 / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4012, allocations: 144.7 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4012, allocations: 192 / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.4013, allocations: 19.98 kB / 435.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4013, allocations: 7.875 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4013, allocations: 0 / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4013, allocations: 0 / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4013, allocations: 8 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.4015, allocations: 109 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.4015, allocations: 19.92 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.4015, allocations: 7.938 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.4016, allocations: 4 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.4016, allocations: 0 / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4016, allocations: 0 / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.4017, allocations: 113.8 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4017, allocations: 4 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.4019, allocations: 8 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001173/0.402, allocations: 103.2 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.4021, allocations: 43.86 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4021, allocations: 0.5 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.4021, allocations: 0 / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4024, allocations: 51.98 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.4027, allocations: 173.3 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4032, allocations: 0.7041 MB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.709e-05/0.4032, allocations: 4.672 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.4032, allocations: 11.44 kB / 437.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4032, allocations: 0 / 437.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Templates: time 0.003854/0.4071, allocations: 0.7424 MB / 437.9 MB, free: 1.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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: 5.290398773737252]