Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 84.66 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 153.1 kB / 24.26 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.498e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003642/0.003677, allocations: 0.8748 MB / 268.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005601/0.004237, allocations: 127.5 kB / 268.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.004327, allocations: 0 / 268.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.004407, allocations: 7.922 kB / 268.3 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.004573, allocations: 7.938 kB / 268.3 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.004894, allocations: 31.89 kB / 268.4 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.005057, allocations: 43.84 kB / 268.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.005203, allocations: 27.88 kB / 268.4 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.005285, allocations: 15.98 kB / 268.4 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.005332, allocations: 15.92 kB / 268.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.005358, allocations: 0 / 268.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.005372, allocations: 4 kB / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.005451, allocations: 23.91 kB / 268.5 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.005506, allocations: 15.94 kB / 268.5 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.005674, allocations: 43.86 kB / 268.5 MB, free: 5.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005677, allocations: 0 / 268.5 MB, free: 5.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005679, allocations: 0 / 268.5 MB, free: 5.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005684, allocations: 0 / 268.5 MB, free: 5.48 MB / 250.7 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.0006004/0.006284, allocations: 298 kB / 268.8 MB, free: 5.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.006331, allocations: 8.922 kB / 268.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.006413, allocations: 12.89 kB / 268.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.006762, allocations: 137.7 kB / 269 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.006785, allocations: 8.375 kB / 269 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.006803, allocations: 4.375 kB / 269 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.007238, allocations: 127.8 kB / 269.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007248, allocations: 192 / 269.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.00726, allocations: 384 / 269.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.007269, allocations: 4.375 kB / 269.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.007359, allocations: 27.91 kB / 269.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.007569, allocations: 121.2 kB / 269.3 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.007789, allocations: 62.66 kB / 269.3 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.007894, allocations: 32.89 kB / 269.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007912, allocations: 4 kB / 269.4 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.007956, allocations: 30.56 kB / 269.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.007958, allocations: 0 / 269.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003439/0.008302, allocations: 89.62 kB / 269.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.008394, allocations: 63.34 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.008609, allocations: 141.2 kB / 269.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.008639, allocations: 25.7 kB / 269.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.008726, allocations: 96 kB / 269.8 MB, free: 4.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.008742, allocations: 4 kB / 269.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.008803, allocations: 25.66 kB / 269.8 MB, free: 4.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.009038, allocations: 310.8 kB / 270.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.009059, allocations: 4 kB / 270.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.009069, allocations: 0 / 270.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.00911, allocations: 12.86 kB / 270.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009111, allocations: 0 / 270.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001225/0.009234, allocations: 49.56 kB / 270.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.009256, allocations: 12.09 kB / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.009262, allocations: 0 / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.00928, allocations: 0 / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.489e-05/0.009294, allocations: 0 / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.0093, allocations: 0 / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.009328, allocations: 3.938 kB / 270.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.009337, allocations: 4 kB / 270.2 MB, free: 3.617 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001498/0.009486, allocations: 113.8 kB / 270.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.00965, allocations: 73.62 kB / 270.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.009704, allocations: 16.42 kB / 270.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009707, allocations: 4 kB / 270.4 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.009712, allocations: 0 / 270.4 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.009722, allocations: 7.938 kB / 270.4 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.009881, allocations: 113.3 kB / 270.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.009886, allocations: 3.984 kB / 270.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.009908, allocations: 7.938 kB / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009911, allocations: 0 / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.009919, allocations: 0 / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.009921, allocations: 0 / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009922, allocations: 4 kB / 270.6 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01014, allocations: 101 kB / 270.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.0102, allocations: 19.95 kB / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01023, allocations: 0 / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.01026, allocations: 4 kB / 270.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.01026, allocations: 0 / 270.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01027, allocations: 7.984 kB / 270.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.01039, allocations: 95.27 kB / 270.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01039, allocations: 0 / 270.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.01075, allocations: 12 kB / 270.8 MB, free: 2.977 MB / 250.7 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.0001598/0.01091, allocations: 103.1 kB / 270.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01104, allocations: 28.45 kB / 270.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01105, allocations: 0 / 270.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.01105, allocations: 0 / 270.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.01151, allocations: 49.67 kB / 271 MB, free: 2.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.01199, allocations: 169.7 kB / 271.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01211, allocations: 83.2 kB / 271.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.01214, allocations: 4 kB / 271.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.01219, allocations: 8.5 kB / 271.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01219, allocations: 4.062 kB / 271.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of Templates: time 0.004528/0.01672, allocations: 0.6347 MB / 271.9 MB, free: 1.852 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.145976517000236]