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.001791/0.001791, 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.002596/0.002596, allocations: 217.7 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.491/1.491, 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.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.001906/0.001906, allocations: 63.89 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 53.41 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002404/0.3285, allocations: 0.879 MB / 433.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.3289, allocations: 107.6 kB / 433.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.329, allocations: 7.938 kB / 433.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.3291, allocations: 7.922 kB / 433.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.3292, allocations: 11.92 kB / 433.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3295, allocations: 31.91 kB / 433.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3296, allocations: 39.92 kB / 433.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3297, allocations: 19.97 kB / 433.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.3297, allocations: 19.88 kB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.3298, allocations: 19.92 kB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3298, allocations: 4 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.3298, allocations: 0 / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3299, allocations: 19.92 kB / 433.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3299, allocations: 27.8 kB / 433.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.33, allocations: 55.55 kB / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3301, allocations: 0 / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3301, allocations: 3.938 kB / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3301, allocations: 0 / 433.7 MB, free: 5.691 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.0004407/0.3305, allocations: 299.7 kB / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3305, allocations: 8.031 kB / 434 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3306, allocations: 12.88 kB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3308, allocations: 134.4 kB / 434.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3308, allocations: 8.375 kB / 434.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3309, allocations: 384 / 434.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.3311, allocations: 143.7 kB / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3312, allocations: 192 / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3312, allocations: 7.922 kB / 434.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3312, allocations: 0 / 434.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.3312, allocations: 20 kB / 434.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.3314, allocations: 136.7 kB / 434.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3315, allocations: 70.67 kB / 434.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.3316, allocations: 32.86 kB / 434.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3316, allocations: 0 / 434.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.3316, allocations: 38.55 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3316, allocations: 0 / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000214/0.3319, allocations: 85.58 kB / 434.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.3319, allocations: 59.34 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3321, allocations: 136.8 kB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3321, allocations: 25.7 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3321, allocations: 84.14 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3321, allocations: 15.94 kB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3322, allocations: 25.72 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3324, allocations: 318.8 kB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.3324, allocations: 8 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.3325, allocations: 66.86 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.3326, allocations: 70.75 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3326, allocations: 0 / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001443/0.3327, allocations: 93.44 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3327, allocations: 7.984 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3327, allocations: 12.19 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3328, allocations: 192 / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.3328, allocations: 4 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3328, allocations: 7.938 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.3328, allocations: 4 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3328, allocations: 4 kB / 435.6 MB, free: 3.555 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.0001131/0.3329, allocations: 129.7 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.333, allocations: 69.64 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.3331, allocations: 24.3 kB / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3331, allocations: 0 / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3331, allocations: 0 / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3331, allocations: 3.938 kB / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3332, allocations: 140.7 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3332, allocations: 0 / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.3332, allocations: 3.938 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3332, allocations: 3.984 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3332, allocations: 7.938 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3332, allocations: 4 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3332, allocations: 0 / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3334, allocations: 93.08 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3334, allocations: 19.94 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3334, allocations: 3.938 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.3334, allocations: 0 / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-06/0.3335, allocations: 4 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.3335, allocations: 4 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3336, allocations: 98.5 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3336, allocations: 4 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.3338, allocations: 12 kB / 436.2 MB, free: 2.863 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.0001162/0.3339, allocations: 103.2 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3342, allocations: 43.91 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3342, allocations: 0 / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3342, allocations: 0 / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3345, allocations: 53.53 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3348, allocations: 183.2 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3352, allocations: 0.6924 MB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.3352, allocations: 11.44 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3352, allocations: 0 / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Templates: time 0.002509/0.3378, allocations: 0.8049 MB / 438.1 MB, free: 0.9141 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.8986669320147485]