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.0009655/0.0009655, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009441/0.0009441, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 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 0.9081/0.9081, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.143e-06/1.143e-06, allocations: 0 / 268.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.457e-05, allocations: 5.969 kB / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001516/0.00153, allocations: 0.9099 MB / 269.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.001833, allocations: 127.5 kB / 269.5 MB, free: 5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.001902, allocations: 4 kB / 269.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.001947, allocations: 7.875 kB / 269.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.002053, allocations: 0 / 269.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.002224, allocations: 39.83 kB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.002307, allocations: 43.84 kB / 269.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.00238, allocations: 12 kB / 269.6 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.002426, allocations: 27.95 kB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.002456, allocations: 15.92 kB / 269.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.002476, allocations: 4 kB / 269.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.002486, allocations: 4 kB / 269.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.002525, allocations: 11.94 kB / 269.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.00255, allocations: 19.91 kB / 269.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.002641, allocations: 43.77 kB / 269.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002643, allocations: 0 / 269.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002644, allocations: 0 / 269.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.002647, allocations: 0 / 269.7 MB, free: 4.77 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.0002586/0.002906, allocations: 268.7 kB / 270 MB, free: 4.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.002937, allocations: 8.922 kB / 270 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.002965, allocations: 12.94 kB / 270 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003103, allocations: 121.7 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.003113, allocations: 4.375 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.003125, allocations: 8.375 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.003279, allocations: 119.6 kB / 270.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003286, allocations: 192 / 270.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.003294, allocations: 4.375 kB / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003299, allocations: 384 / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.003314, allocations: 11.94 kB / 270.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.189e-05/0.003376, allocations: 64.94 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.003477, allocations: 46.48 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.003506, allocations: 24.84 kB / 270.4 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.003513, allocations: 4 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.003531, allocations: 30.56 kB / 270.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.003532, allocations: 4 kB / 270.4 MB, free: 3.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 9.299e-05/0.003625, allocations: 65.66 kB / 270.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.003663, allocations: 55.41 kB / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.003946, allocations: 126.6 kB / 270.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.003956, allocations: 33.7 kB / 270.7 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.003977, allocations: 84.12 kB / 270.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.003984, allocations: 0 / 270.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.004006, allocations: 21.66 kB / 270.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.004071, allocations: 322.8 kB / 271.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.004076, allocations: 0 / 271.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.004081, allocations: 4 kB / 271.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.56e-05/0.004097, allocations: 8.922 kB / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004099, allocations: 0 / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.332e-05/0.004132, allocations: 33.7 kB / 271.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.004142, allocations: 7.984 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004146, allocations: 11.94 kB / 271.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.004156, allocations: 0 / 271.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-06/0.004166, allocations: 3.938 kB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004168, allocations: 0 / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.004179, allocations: 4 kB / 271.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.004182, allocations: 4.031 kB / 271.2 MB, free: 3.117 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 5.131e-05/0.004233, allocations: 116.6 kB / 271.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.004265, allocations: 49.98 kB / 271.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.004296, allocations: 20.41 kB / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.004298, allocations: 0 / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.0043, allocations: 0 / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004302, allocations: 0 / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.76e-05/0.00435, allocations: 77.83 kB / 271.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004351, allocations: 0 / 271.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.004359, allocations: 3.938 kB / 271.5 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.004361, allocations: 8 kB / 271.5 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.004364, allocations: 0 / 271.5 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.004365, allocations: 80 / 271.5 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.004367, allocations: 3.984 kB / 271.5 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.872e-05/0.004406, allocations: 57.06 kB / 271.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.004434, allocations: 19.94 kB / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.004447, allocations: 0 / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.004459, allocations: 0 / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-06/0.004463, allocations: 4 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.004466, allocations: 0 / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.004487, allocations: 28.16 kB / 271.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004487, allocations: 4 kB / 271.6 MB, free: 2.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.345e-05/0.00458, allocations: 8 kB / 271.6 MB, free: 2.668 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 6.48e-05/0.004645, allocations: 80.36 kB / 271.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.941e-05/0.004694, allocations: 24.83 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.004696, allocations: 0 / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.004697, allocations: 0 / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.00483, allocations: 42.42 kB / 271.7 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.004997, allocations: 152.2 kB / 271.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.005026, allocations: 67.41 kB / 272 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.237e-05/0.005038, allocations: 3.984 kB / 272 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.005079, allocations: 55.38 kB / 272 MB, free: 2.195 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00508, allocations: 3.938 kB / 272 MB, free: 2.191 MB / 250.7 MB Notification: Performance of Templates: time 0.001911/0.006991, allocations: 0.6658 MB / 272.7 MB, free: 1.535 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.471016236115247]