Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001589/0.001589, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002126/0.002126, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.511/1.511, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.89 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002295/0.277, allocations: 0.8675 MB / 433.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000365/0.2774, allocations: 115.6 kB / 433.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.2775, allocations: 3.938 kB / 433.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.2775, allocations: 7.922 kB / 433.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2776, allocations: 7.938 kB / 433.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.2779, allocations: 35.89 kB / 433.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.278, allocations: 47.86 kB / 433.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2781, allocations: 15.78 kB / 433.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.2781, allocations: 19.92 kB / 433.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.592e-05/0.2781, allocations: 19.86 kB / 433.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2782, allocations: 4 kB / 433.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.2782, allocations: 4 kB / 433.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.2782, allocations: 11.94 kB / 433.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2783, allocations: 23.84 kB / 433.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2784, allocations: 47.47 kB / 433.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.2784, allocations: 4 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2784, allocations: 0 / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2784, allocations: 0 / 433.6 MB, free: 5.297 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.0004056/0.2788, allocations: 297.2 kB / 433.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2788, allocations: 15.98 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2789, allocations: 8.891 kB / 433.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2791, allocations: 141.4 kB / 434.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2791, allocations: 4.375 kB / 434.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2792, allocations: 8.359 kB / 434.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2794, allocations: 135.8 kB / 434.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2795, allocations: 8.125 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2795, allocations: 7.938 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2795, allocations: 0 / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.2795, allocations: 12 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2797, allocations: 117.2 kB / 434.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.2798, allocations: 58.66 kB / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.2799, allocations: 40.89 kB / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2799, allocations: 3.938 kB / 434.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2799, allocations: 38.55 kB / 434.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2799, allocations: 0 / 434.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002096/0.2801, allocations: 93.8 kB / 434.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.2802, allocations: 51.48 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2803, allocations: 133.8 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2803, allocations: 25.7 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.2804, allocations: 84.14 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2804, allocations: 7.938 kB / 434.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.2805, allocations: 29.72 kB / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2806, allocations: 326.8 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.2806, allocations: 7.938 kB / 435.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.2807, allocations: 62.84 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.2808, allocations: 70.75 kB / 435.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2808, allocations: 4 kB / 435.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001258/0.2809, allocations: 85.52 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2809, allocations: 8 kB / 435.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2809, allocations: 3.984 kB / 435.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2809, allocations: 11.88 kB / 435.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.2809, allocations: 4 kB / 435.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2809, allocations: 256 / 435.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.281, allocations: 12 kB / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.281, allocations: 4 kB / 435.5 MB, free: 3.191 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001048/0.2811, allocations: 129.7 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.2812, allocations: 65.66 kB / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.2812, allocations: 16.36 kB / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2812, allocations: 3.938 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2812, allocations: 0 / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2812, allocations: 0 / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.2813, allocations: 109.3 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2813, allocations: 4 kB / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.2813, allocations: 4 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2813, allocations: 7.938 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.2813, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2813, allocations: 192 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.2814, allocations: 7.875 kB / 435.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.2815, allocations: 105 kB / 435.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2815, allocations: 19.95 kB / 436 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2815, allocations: 3.984 kB / 436 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.2816, allocations: 4 kB / 436 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-06/0.2816, allocations: 3.938 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2816, allocations: 8 kB / 436 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.2816, allocations: 97.94 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2816, allocations: 0 / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000204/0.2818, allocations: 12 kB / 436.1 MB, free: 2.535 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,xor.u1,xor.u2,xor.y,integerConstant.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.0001089/0.2819, allocations: 95.25 kB / 436.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.2821, allocations: 43.86 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2821, allocations: 4.5 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2821, allocations: 4 kB / 436.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2824, allocations: 38.75 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.2827, allocations: 183.2 kB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.2828, allocations: 87.91 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.2828, allocations: 11.44 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2828, allocations: 0 / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Templates: time 0.002415/0.2852, allocations: 0.801 MB / 437.3 MB, free: 1.211 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.967798396013677]