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.001842/0.001842, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002236/0.002236, allocations: 210.2 kB / 24.48 MB, free: 3.934 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.746 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.002023/0.002023, allocations: 63.91 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2831, allocations: 53.4 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002413/0.2855, allocations: 0.8587 MB / 433.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.2859, allocations: 115.6 kB / 433.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.286, allocations: 3.938 kB / 433.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.2861, allocations: 7.922 kB / 433.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2862, allocations: 15.94 kB / 433.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2864, allocations: 43.02 kB / 433.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2865, allocations: 43.84 kB / 433.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2867, allocations: 14.95 kB / 433.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.2867, allocations: 19.92 kB / 433.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.2868, allocations: 19.84 kB / 433.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2868, allocations: 4 kB / 433.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.2868, allocations: 4 kB / 433.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.2869, allocations: 23.92 kB / 433.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.2869, allocations: 19.81 kB / 433.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2871, allocations: 59.39 kB / 433.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2871, allocations: 4 kB / 433.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2871, allocations: 0 / 433.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.2871, allocations: 4 kB / 433.6 MB, free: 5.309 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.0005187/0.2876, allocations: 302 kB / 433.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2876, allocations: 15.98 kB / 433.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.2877, allocations: 16.84 kB / 434 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2879, allocations: 138.3 kB / 434.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.2879, allocations: 4.375 kB / 434.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2879, allocations: 384 / 434.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.2883, allocations: 147.8 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2883, allocations: 192 / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2883, allocations: 7.875 kB / 434.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2883, allocations: 7.938 kB / 434.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.816e-05/0.2883, allocations: 31.91 kB / 434.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2885, allocations: 113.3 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2887, allocations: 70.75 kB / 434.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.2887, allocations: 40.84 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2887, allocations: 4 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2888, allocations: 30.56 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2888, allocations: 0 / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003037/0.2891, allocations: 105.5 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.2892, allocations: 55.41 kB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2894, allocations: 148.4 kB / 434.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.2894, allocations: 25.7 kB / 434.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.2895, allocations: 88.14 kB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2895, allocations: 3.984 kB / 435 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.2896, allocations: 29.72 kB / 435 MB, free: 3.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2898, allocations: 322.8 kB / 435.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.2898, allocations: 4 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.2899, allocations: 66.8 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.29, allocations: 70.81 kB / 435.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.29, allocations: 7.938 kB / 435.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001475/0.2902, allocations: 89.5 kB / 435.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2902, allocations: 8 kB / 435.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2902, allocations: 0 / 435.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.2902, allocations: 7.938 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.2903, allocations: 15.94 kB / 435.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.2903, allocations: 8.234 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.2903, allocations: 4 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2904, allocations: 4 kB / 435.6 MB, free: 3.129 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.0001543/0.2905, allocations: 129.8 kB / 435.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.2906, allocations: 93.59 kB / 435.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.2907, allocations: 16.66 kB / 435.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2907, allocations: 3.984 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2907, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2907, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2908, allocations: 121.3 kB / 435.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2908, allocations: 4.188 kB / 435.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.2909, allocations: 8 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2909, allocations: 7.938 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2909, allocations: 4 kB / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2909, allocations: 3.938 kB / 436 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2909, allocations: 0 / 436 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2911, allocations: 109 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.2911, allocations: 19.94 kB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2911, allocations: 0 / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.2912, allocations: 11.94 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-06/0.2912, allocations: 0 / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2912, allocations: 4 kB / 436.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.2913, allocations: 111.2 kB / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2913, allocations: 0 / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000206/0.2915, allocations: 4 kB / 436.2 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.00016/0.2916, allocations: 99.25 kB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.2918, allocations: 47.91 kB / 436.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2918, allocations: 4.438 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.2918, allocations: 4 kB / 436.4 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.0003786/0.2922, allocations: 47.45 kB / 436.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.2926, allocations: 211 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2928, allocations: 79.33 kB / 436.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.2928, allocations: 11.44 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2928, allocations: 0 / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Templates: time 0.003014/0.2958, allocations: 0.8851 MB / 437.6 MB, free: 0.9844 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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: 6.842881987802684]