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.001367/0.001367, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001578/0.001578, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.001964/0.001964, allocations: 71.88 kB / 378.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 53.42 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002366/0.2851, allocations: 0.8441 MB / 432.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.2855, allocations: 111.6 kB / 432.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.2856, allocations: 11.94 kB / 432.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.2857, allocations: 7.922 kB / 432.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2858, allocations: 11.94 kB / 432.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.286, allocations: 39.89 kB / 432.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2862, allocations: 43.84 kB / 432.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2863, allocations: 12 kB / 432.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.2863, allocations: 19.92 kB / 432.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.2864, allocations: 15.86 kB / 432.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2864, allocations: 4 kB / 432.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.2865, allocations: 4 kB / 432.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.2865, allocations: 31.84 kB / 432.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.2866, allocations: 19.88 kB / 432.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2867, allocations: 60.94 kB / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2867, allocations: 0 / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2867, allocations: 0 / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2867, allocations: 0 / 432.9 MB, free: 5.316 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.0006009/0.2873, allocations: 309.9 kB / 433.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.2874, allocations: 15.98 kB / 433.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.2874, allocations: 12.84 kB / 433.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2877, allocations: 134.4 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2877, allocations: 4.375 kB / 433.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.2877, allocations: 4.375 kB / 433.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.2881, allocations: 151.7 kB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2881, allocations: 4.172 kB / 433.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2881, allocations: 3.938 kB / 433.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2881, allocations: 4 kB / 433.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.2882, allocations: 27.92 kB / 433.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2883, allocations: 117.3 kB / 433.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2885, allocations: 74.75 kB / 433.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.2886, allocations: 36.84 kB / 433.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2886, allocations: 4 kB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2886, allocations: 30.72 kB / 433.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2886, allocations: 0 / 433.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002763/0.2889, allocations: 109.5 kB / 433.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.289, allocations: 55.41 kB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2892, allocations: 141.8 kB / 434.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2892, allocations: 25.7 kB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.2893, allocations: 92.14 kB / 434.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.2893, allocations: 7.938 kB / 434.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.2894, allocations: 25.72 kB / 434.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2895, allocations: 322.8 kB / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.2895, allocations: 4 kB / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.2896, allocations: 66.8 kB / 434.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.2897, allocations: 74.75 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.2897, allocations: 0 / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001496/0.2899, allocations: 93.5 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2899, allocations: 6.5 kB / 434.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2899, allocations: 4 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2899, allocations: 12.19 kB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.29, allocations: 15.94 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.29, allocations: 3.984 kB / 434.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.2901, allocations: 7.938 kB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2901, allocations: 4.188 kB / 434.8 MB, free: 3.125 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.000131/0.2902, allocations: 129.8 kB / 435 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2903, allocations: 85.5 kB / 435 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.2904, allocations: 16.66 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2904, allocations: 0 / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2904, allocations: 0 / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2904, allocations: 4 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.2905, allocations: 121.2 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2905, allocations: 4 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.2905, allocations: 8 kB / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2906, allocations: 4 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2906, allocations: 0 / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2906, allocations: 3.938 kB / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2906, allocations: 400 / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2907, allocations: 117 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.2908, allocations: 19.94 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2908, allocations: 4 kB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.2908, allocations: 11.94 kB / 435.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-06/0.2908, allocations: 4 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.2908, allocations: 0 / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.2909, allocations: 107.2 kB / 435.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2909, allocations: 0 / 435.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.2911, allocations: 8 kB / 435.5 MB, free: 2.422 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.0001147/0.2913, allocations: 99.25 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2914, allocations: 55.91 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2914, allocations: 0 / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2914, allocations: 0 / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2917, allocations: 44 kB / 435.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.292, allocations: 180.4 kB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.084e-05/0.2921, allocations: 79.33 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.2921, allocations: 13.03 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.2922, allocations: 15.44 kB / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2922, allocations: 0 / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Templates: time 0.003506/0.2957, allocations: 0.7848 MB / 436.7 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: 4.425912426784635]