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.001047/0.001047, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001865/0.001865, allocations: 142.3 kB / 24.97 MB, free: 8.324 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 1.061/1.061, allocations: 173.3 MB / 201.5 MB, free: 9.328 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 2.185e-06/2.185e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.673e-05, allocations: 6.25 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001736/0.001762, allocations: 0.898 MB / 269 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.002166, allocations: 119.5 kB / 269.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.002261, allocations: 0 / 269.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.002315, allocations: 7.875 kB / 269.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.002443, allocations: 7.984 kB / 269.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.002665, allocations: 35.84 kB / 269.1 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.002769, allocations: 43.84 kB / 269.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002871, allocations: 15.98 kB / 269.2 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.002923, allocations: 19.97 kB / 269.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.002951, allocations: 11.92 kB / 269.2 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.002974, allocations: 8 kB / 269.2 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.002985, allocations: 4 kB / 269.2 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.00304, allocations: 15.92 kB / 269.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.003074, allocations: 15.92 kB / 269.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003198, allocations: 43.77 kB / 269.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003201, allocations: 0 / 269.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003202, allocations: 0 / 269.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.003206, allocations: 0 / 269.3 MB, free: 5.477 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.0003637/0.003569, allocations: 396.4 kB / 269.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.00361, allocations: 8.922 kB / 269.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.003657, allocations: 16.89 kB / 269.7 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.003845, allocations: 128.6 kB / 269.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.003861, allocations: 12.36 kB / 269.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.003874, allocations: 4.375 kB / 269.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.004115, allocations: 129.2 kB / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004123, allocations: 192 / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.004132, allocations: 384 / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.00414, allocations: 4.375 kB / 270 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.004173, allocations: 19.92 kB / 270 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.004297, allocations: 132.5 kB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.004432, allocations: 63.14 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.004481, allocations: 27.72 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.004488, allocations: 4 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.004511, allocations: 37.39 kB / 270.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.004512, allocations: 0 / 270.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001808/0.004693, allocations: 77.58 kB / 270.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.004743, allocations: 59.41 kB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.008128, allocations: 197.4 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.008139, allocations: 25.7 kB / 270.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.008182, allocations: 130.9 kB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.008195, allocations: 3.984 kB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.008234, allocations: 31.33 kB / 270.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.008364, allocations: 492.1 kB / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.008377, allocations: 0 / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.008387, allocations: 4 kB / 271.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.008416, allocations: 11.67 kB / 271.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.008418, allocations: 8.062 kB / 271.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.809e-05/0.008486, allocations: 41.64 kB / 271.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.008502, allocations: 4 kB / 271.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008507, allocations: 0 / 271.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.008521, allocations: 0 / 271.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-05/0.008537, allocations: 3.938 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.008544, allocations: 4 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.008559, allocations: 3.938 kB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.008564, allocations: 0 / 271.4 MB, free: 3.227 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 8.374e-05/0.008648, allocations: 164.6 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.008724, allocations: 69.58 kB / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.008763, allocations: 20.42 kB / 271.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008765, allocations: 0 / 271.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008769, allocations: 0 / 271.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008773, allocations: 3.938 kB / 271.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.996e-05/0.008853, allocations: 128.6 kB / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008854, allocations: 0 / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.008862, allocations: 0 / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008864, allocations: 0 / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.008873, allocations: 4 kB / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008874, allocations: 0 / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008876, allocations: 8 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.008999, allocations: 108.7 kB / 271.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.009037, allocations: 11.89 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.009061, allocations: 4 kB / 271.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.009078, allocations: 3.984 kB / 271.9 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.009081, allocations: 4 kB / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.009087, allocations: 0 / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.071e-05/0.009147, allocations: 139.2 kB / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009147, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.009325, allocations: 8 kB / 272 MB, free: 2.484 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 9.866e-05/0.009424, allocations: 103.2 kB / 272.1 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.009515, allocations: 27.67 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009517, allocations: 0 / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.00952, allocations: 4 kB / 272.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.009801, allocations: 45.45 kB / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.01005, allocations: 159.4 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.01009, allocations: 63.34 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.01011, allocations: 7.969 kB / 272.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.01013, allocations: 16.56 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01013, allocations: 3.938 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of Templates: time 0.009293/0.01943, allocations: 0.6221 MB / 273.1 MB, free: 1.387 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.706144702853635]