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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002502/0.002502, allocations: 212.6 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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.002037/0.002037, allocations: 59.91 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2665, allocations: 53.31 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002229/0.2688, allocations: 0.8706 MB / 431.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2691, allocations: 115.6 kB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.2692, allocations: 4 kB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.56e-05/0.2692, allocations: 7.875 kB / 431.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.2693, allocations: 7.938 kB / 431.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2696, allocations: 31.91 kB / 431.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2697, allocations: 47.89 kB / 431.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2698, allocations: 12 kB / 431.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2698, allocations: 19.86 kB / 431.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.2699, allocations: 15.92 kB / 431.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2699, allocations: 4 kB / 431.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.2699, allocations: 8 kB / 431.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.2699, allocations: 15.92 kB / 431.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.27, allocations: 23.81 kB / 431.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2701, allocations: 59.53 kB / 431.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2701, allocations: 0 / 431.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2701, allocations: 7.938 kB / 431.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2701, allocations: 0 / 431.4 MB, free: 6.398 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.0004154/0.2705, allocations: 364.6 kB / 431.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2706, allocations: 12.03 kB / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2706, allocations: 8.891 kB / 431.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2708, allocations: 200.2 kB / 432 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2708, allocations: 8.312 kB / 432 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2709, allocations: 8.375 kB / 432 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2711, allocations: 123.8 kB / 432.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2711, allocations: 4.188 kB / 432.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2711, allocations: 3.938 kB / 432.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2712, allocations: 4 kB / 432.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.2712, allocations: 15.98 kB / 432.2 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.2714, allocations: 165.7 kB / 432.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2715, allocations: 62.66 kB / 432.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.2716, allocations: 32.89 kB / 432.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2716, allocations: 8 kB / 432.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2716, allocations: 38.55 kB / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2716, allocations: 0 / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001995/0.2718, allocations: 85.52 kB / 432.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.2719, allocations: 63.39 kB / 432.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.272, allocations: 132.5 kB / 432.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.272, allocations: 25.7 kB / 432.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2721, allocations: 92.14 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2721, allocations: 7.938 kB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.2721, allocations: 25.72 kB / 432.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2722, allocations: 318.8 kB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.2723, allocations: 8 kB / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.2723, allocations: 66.73 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/0.2724, allocations: 66.81 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2724, allocations: 0 / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000133/0.2725, allocations: 93.45 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2726, allocations: 4 kB / 433.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2726, allocations: 11.92 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2726, allocations: 0 / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.045e-05/0.2726, allocations: 12.19 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2726, allocations: 4 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.2726, allocations: 0 / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2726, allocations: 8 kB / 433.5 MB, free: 4.086 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 9.129e-05/0.2727, allocations: 125.8 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2728, allocations: 69.91 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.2729, allocations: 20.3 kB / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2729, allocations: 0 / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2729, allocations: 0 / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2729, allocations: 7.938 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.273, allocations: 169.7 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.273, allocations: 4 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.273, allocations: 0 / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.273, allocations: 3.984 kB / 433.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.273, allocations: 3.938 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.273, allocations: 4 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.273, allocations: 0 / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.2732, allocations: 105.1 kB / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.2732, allocations: 97.05 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2733, allocations: 3.938 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.2733, allocations: 3.984 kB / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.2733, allocations: 0 / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2733, allocations: 4 kB / 434.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.2734, allocations: 105.9 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2734, allocations: 0 / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.2736, allocations: 8 kB / 434.2 MB, free: 3.266 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.0001101/0.2737, allocations: 103.2 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.2738, allocations: 43.91 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2738, allocations: 0 / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.2738, allocations: 0 / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2741, allocations: 48.06 kB / 434.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.2744, allocations: 187.8 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2748, allocations: 0.6963 MB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2748, allocations: 11.44 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2748, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Templates: time 0.002434/0.2772, allocations: 0.7987 MB / 436.1 MB, free: 1.32 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