Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001677/0.001677, allocations: 105.2 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.002199/0.002199, allocations: 214.5 kB / 23 MB, free: 5.605 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.692/1.692, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3656, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002535/0.3681, allocations: 0.974 MB / 430.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.3685, allocations: 115.6 kB / 430.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.3686, allocations: 4 kB / 430.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.3686, allocations: 3.938 kB / 430.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3687, allocations: 7.875 kB / 430.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.369, allocations: 39.89 kB / 430.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3691, allocations: 43.84 kB / 431 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3692, allocations: 16.19 kB / 431 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.3693, allocations: 15.92 kB / 431 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.3693, allocations: 23.86 kB / 431 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3693, allocations: 4 kB / 431 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3694, allocations: 4 kB / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.3694, allocations: 19.92 kB / 431.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3695, allocations: 19.81 kB / 431.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3696, allocations: 59.39 kB / 431.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3696, allocations: 0 / 431.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3696, allocations: 0 / 431.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3696, allocations: 4 kB / 431.2 MB, free: 6.215 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.0004874/0.3701, allocations: 372.7 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3701, allocations: 12.03 kB / 431.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.3702, allocations: 16.83 kB / 431.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3705, allocations: 196.2 kB / 431.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3705, allocations: 8.375 kB / 431.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.3705, allocations: 384 / 431.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3707, allocations: 131.8 kB / 431.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3708, allocations: 3.938 kB / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3708, allocations: 0 / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3708, allocations: 0 / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.3708, allocations: 23.92 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.371, allocations: 169.6 kB / 432.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3711, allocations: 62.72 kB / 432.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.3712, allocations: 40.88 kB / 432.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.3712, allocations: 0 / 432.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3712, allocations: 34.5 kB / 432.2 MB, free: 5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.3712, allocations: 7.938 kB / 432.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002028/0.3714, allocations: 89.72 kB / 432.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3715, allocations: 59.39 kB / 432.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3716, allocations: 132.6 kB / 432.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3716, allocations: 37.7 kB / 432.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.3717, allocations: 84.14 kB / 432.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.3717, allocations: 7.922 kB / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3717, allocations: 25.67 kB / 432.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3719, allocations: 314.8 kB / 432.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.3719, allocations: 23.92 kB / 433 MB, free: 4.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.3719, allocations: 54.88 kB / 433 MB, free: 4.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.372, allocations: 74.73 kB / 433.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.372, allocations: 4 kB / 433.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001214/0.3721, allocations: 77.56 kB / 433.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3722, allocations: 7.938 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3722, allocations: 4.25 kB / 433.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3722, allocations: 11.94 kB / 433.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.3723, allocations: 23.92 kB / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3723, allocations: 0 / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.3723, allocations: 11.95 kB / 433.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3723, allocations: 4 kB / 433.2 MB, free: 3.859 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: 0 () * 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 9.599e-05/0.3724, allocations: 125.8 kB / 433.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.3725, allocations: 69.59 kB / 433.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3726, allocations: 20.7 kB / 433.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3726, allocations: 4 kB / 433.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3726, allocations: 0 / 433.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3726, allocations: 0 / 433.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3727, allocations: 165.7 kB / 433.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3727, allocations: 4 kB / 433.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.3728, allocations: 11.98 kB / 433.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3728, allocations: 3.938 kB / 433.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3728, allocations: 4 kB / 433.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3728, allocations: 0 / 433.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3728, allocations: 0 / 433.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3729, allocations: 105 kB / 433.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.373, allocations: 96.92 kB / 433.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.373, allocations: 8.188 kB / 433.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.373, allocations: 0 / 433.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.373, allocations: 7.922 kB / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.373, allocations: 0 / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.3731, allocations: 103.3 kB / 433.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 433.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.3733, allocations: 12 kB / 434 MB, free: 3.027 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: 0 () * 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.0001054/0.3734, allocations: 99.25 kB / 434.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3736, allocations: 47.84 kB / 434.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3736, allocations: 0 / 434.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.3736, allocations: 0 / 434.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3739, allocations: 42.33 kB / 434.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3742, allocations: 174 kB / 434.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3745, allocations: 0.7002 MB / 435 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.482e-05/0.3745, allocations: 7.953 kB / 435 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3745, allocations: 15.38 kB / 435 MB, free: 1.887 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3745, allocations: 0 / 435 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Templates: time 0.003157/0.3777, allocations: 0.6596 MB / 435.7 MB, free: 1.23 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.202436155639589]