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.001569/0.001569, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002026/0.002026, allocations: 217 kB / 24.5 MB, free: 4.133 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.001891/0.001891, allocations: 63.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2719, allocations: 53.4 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002411/0.2743, allocations: 0.8626 MB / 433.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.2747, allocations: 123.5 kB / 433.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.2748, allocations: 0 / 433.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2749, allocations: 7.875 kB / 433.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.275, allocations: 11.92 kB / 433.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.2753, allocations: 39.91 kB / 433.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2754, allocations: 39.91 kB / 433.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2755, allocations: 15.97 kB / 433.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.2755, allocations: 23.81 kB / 433.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.2756, allocations: 23.92 kB / 433.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2756, allocations: 0 / 433.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2756, allocations: 8 kB / 433.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.2757, allocations: 19.92 kB / 433.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.2757, allocations: 31.73 kB / 433.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.2759, allocations: 57 kB / 433.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2759, allocations: 0 / 433.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2759, allocations: 3.938 kB / 433.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.2759, allocations: 0 / 433.7 MB, free: 5.516 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.0005414/0.2764, allocations: 302 kB / 434 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2765, allocations: 8.031 kB / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.2765, allocations: 20.84 kB / 434 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2767, allocations: 138.4 kB / 434.2 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2767, allocations: 384 / 434.2 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2768, allocations: 8.375 kB / 434.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.277, allocations: 147.6 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2771, allocations: 4.188 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2771, allocations: 3.938 kB / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2771, allocations: 0 / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.2771, allocations: 27.98 kB / 434.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2773, allocations: 148.7 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2775, allocations: 66.66 kB / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2775, allocations: 48.86 kB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2775, allocations: 4 kB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2776, allocations: 34.56 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2776, allocations: 0 / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002238/0.2778, allocations: 109.7 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.2779, allocations: 59.34 kB / 434.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.278, allocations: 144.2 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.278, allocations: 25.7 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.2781, allocations: 88.14 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2781, allocations: 7.953 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.2781, allocations: 29.7 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2783, allocations: 314.8 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.2783, allocations: 11.98 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.2784, allocations: 58.81 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.2784, allocations: 86.67 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2784, allocations: 0 / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001578/0.2786, allocations: 89.45 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2786, allocations: 11.92 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2786, allocations: 4 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2786, allocations: 0 / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.2787, allocations: 24.25 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2787, allocations: 0 / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.2788, allocations: 4 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2788, allocations: 4 kB / 435.7 MB, free: 3.285 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.0001086/0.2789, allocations: 133.7 kB / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.279, allocations: 81.58 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.279, allocations: 12.7 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.279, allocations: 0 / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.279, allocations: 8 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.279, allocations: 0 / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.2792, allocations: 140.7 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2792, allocations: 0 / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.2792, allocations: 19.92 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2792, allocations: 3.938 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2792, allocations: 8 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2792, allocations: 0 / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2792, allocations: 0 / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.2794, allocations: 109.1 kB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.2794, allocations: 19.94 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2794, allocations: 7.938 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.2795, allocations: 0 / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.2795, allocations: 0 / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2795, allocations: 4 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.2795, allocations: 109.8 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2795, allocations: 0 / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2797, allocations: 12 kB / 436.3 MB, free: 2.551 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.0001118/0.2799, allocations: 107.1 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.28, allocations: 51.91 kB / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.28, allocations: 0 / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.28, allocations: 0 / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2803, allocations: 47.92 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.2806, allocations: 203.7 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.281, allocations: 0.7002 MB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.281, allocations: 15.38 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.281, allocations: 0 / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Templates: time 0.002589/0.2836, allocations: 0.8813 MB / 438.3 MB, free: 500 kB / 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.938622208079323]