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.001354/0.001354, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001417/0.001417, allocations: 219 kB / 23 MB, free: 5.574 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.564/1.564, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001916/0.001916, allocations: 59.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002969/0.3921, allocations: 0.866 MB / 430.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.3926, allocations: 115.7 kB / 430.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3927, allocations: 3.938 kB / 430.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.3928, allocations: 7.922 kB / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.393, allocations: 11.94 kB / 430.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3932, allocations: 47.83 kB / 430.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3934, allocations: 39.91 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3935, allocations: 19.98 kB / 430.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.3936, allocations: 19.86 kB / 430.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.3937, allocations: 19.92 kB / 430.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3937, allocations: 0 / 430.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3937, allocations: 4 kB / 430.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.3938, allocations: 19.92 kB / 431 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.3938, allocations: 31.69 kB / 431 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.394, allocations: 55.45 kB / 431 MB, free: 6.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.394, allocations: 4 kB / 431 MB, free: 6.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.394, allocations: 3.938 kB / 431 MB, free: 6.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.394, allocations: 0 / 431 MB, free: 6.293 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.000658/0.3947, allocations: 384.7 kB / 431.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3947, allocations: 8.031 kB / 431.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.3947, allocations: 8.891 kB / 431.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.395, allocations: 204.1 kB / 431.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.395, allocations: 384 / 431.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3951, allocations: 12.38 kB / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.3954, allocations: 139.8 kB / 431.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3954, allocations: 192 / 431.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3954, allocations: 3.938 kB / 431.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3954, allocations: 0 / 431.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.3955, allocations: 27.92 kB / 431.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3957, allocations: 177.6 kB / 432 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3959, allocations: 70.75 kB / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.396, allocations: 40.84 kB / 432.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.396, allocations: 0 / 432.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.396, allocations: 30.56 kB / 432.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.396, allocations: 8 kB / 432.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002473/0.3962, allocations: 105.7 kB / 432.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.3963, allocations: 55.47 kB / 432.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3965, allocations: 149.8 kB / 432.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3965, allocations: 25.7 kB / 432.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3965, allocations: 88.14 kB / 432.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3966, allocations: 4 kB / 432.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3966, allocations: 29.7 kB / 432.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3968, allocations: 318.8 kB / 432.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.3968, allocations: 7.984 kB / 432.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.3968, allocations: 62.8 kB / 433 MB, free: 4.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.3969, allocations: 78.75 kB / 433 MB, free: 4.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3969, allocations: 3.938 kB / 433 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001339/0.3971, allocations: 89.5 kB / 433.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3971, allocations: 14.28 kB / 433.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3971, allocations: 0 / 433.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3971, allocations: 4 kB / 433.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.3972, allocations: 19.94 kB / 433.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3972, allocations: 4 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.3973, allocations: 7.984 kB / 433.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3973, allocations: 8 kB / 433.2 MB, free: 3.871 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.0001178/0.3974, allocations: 130 kB / 433.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3975, allocations: 93.59 kB / 433.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.3976, allocations: 12.72 kB / 433.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3976, allocations: 0 / 433.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3976, allocations: 0 / 433.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3976, allocations: 0 / 433.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3977, allocations: 173.6 kB / 433.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3977, allocations: 0 / 433.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.3978, allocations: 12 kB / 433.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.3978, allocations: 7.938 kB / 433.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3978, allocations: 4.188 kB / 433.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3978, allocations: 0 / 433.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3978, allocations: 3.938 kB / 433.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.398, allocations: 113 kB / 433.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.398, allocations: 89.05 kB / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3981, allocations: 11.92 kB / 433.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.3981, allocations: 7.984 kB / 433.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.3981, allocations: 4 kB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3981, allocations: 0 / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.3982, allocations: 103.3 kB / 433.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3982, allocations: 0 / 433.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.3984, allocations: 12 kB / 434 MB, free: 3.004 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.0001302/0.3985, allocations: 107.2 kB / 434.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3987, allocations: 44.11 kB / 434.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3987, allocations: 3.938 kB / 434.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3987, allocations: 0 / 434.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.399, allocations: 44 kB / 434.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.3994, allocations: 189.2 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3997, allocations: 0.7002 MB / 435 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.3998, allocations: 4.984 kB / 435 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.3998, allocations: 11.44 kB / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3998, allocations: 0 / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Templates: time 0.003692/0.4035, allocations: 0.731 MB / 435.8 MB, free: 1.121 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.076451567932963]