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.00148/0.00148, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001062/0.001062, allocations: 159.3 kB / 24.99 MB, free: 8.309 MB / 18.57 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 0.9692/0.9692, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.713e-05, allocations: 2.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001726/0.001743, allocations: 0.8949 MB / 273.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.002046, allocations: 123.5 kB / 274 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.002122, allocations: 7.938 kB / 274 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.005172, allocations: 3.938 kB / 274 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.005284, allocations: 4 kB / 274 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.005469, allocations: 39.77 kB / 274.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.005561, allocations: 39.91 kB / 274.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.005653, allocations: 19.98 kB / 274.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.005702, allocations: 23.91 kB / 274.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.005726, allocations: 7.984 kB / 274.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.005746, allocations: 4 kB / 274.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.005755, allocations: 4 kB / 274.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.005798, allocations: 19.92 kB / 274.2 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.005828, allocations: 19.92 kB / 274.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/0.005925, allocations: 39.77 kB / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005926, allocations: 0 / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005927, allocations: 0 / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005931, allocations: 0 / 274.2 MB, free: 0.5117 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.0003221/0.006253, allocations: 392.4 kB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.006286, allocations: 11.98 kB / 274.6 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.006324, allocations: 16.89 kB / 274.6 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.006496, allocations: 144.4 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.006506, allocations: 4.375 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.006515, allocations: 4.375 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.006943, allocations: 117.5 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.00695, allocations: 4.188 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.00696, allocations: 4.375 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.006967, allocations: 4.375 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.006994, allocations: 15.92 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.0071, allocations: 136.5 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.007215, allocations: 67.12 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.007261, allocations: 31.72 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.007268, allocations: 0 / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.007287, allocations: 33.39 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.007288, allocations: 0 / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000147/0.007435, allocations: 77.58 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.007475, allocations: 59.41 kB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.007577, allocations: 196.6 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.007587, allocations: 29.7 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.007626, allocations: 130.9 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.007637, allocations: 7.938 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.007666, allocations: 27.38 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007775, allocations: 492.1 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.007783, allocations: 4 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.00779, allocations: 4 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.007814, allocations: 19.61 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007815, allocations: 0 / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.343e-05/0.007859, allocations: 33.8 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.00787, allocations: 11.12 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.007874, allocations: 0 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.007885, allocations: 0 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-06/0.007895, allocations: 4 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007899, allocations: 0 / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.007911, allocations: 3.938 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.007916, allocations: 4 kB / 276.3 MB, free: 14.25 MB / 266.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 6.152e-05/0.007977, allocations: 156.6 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.008049, allocations: 73.88 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.008081, allocations: 12.42 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008083, allocations: 4 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008087, allocations: 0 / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.008091, allocations: 7.938 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.008162, allocations: 128.6 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008163, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.008168, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.00817, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.008176, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.008179, allocations: 8.078 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.008182, allocations: 3.984 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.008275, allocations: 112.2 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.008303, allocations: 15.95 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.00832, allocations: 0 / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.008334, allocations: 4 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-06/0.008337, allocations: 3.984 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008343, allocations: 7.938 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.008395, allocations: 139.2 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008395, allocations: 0 / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.008564, allocations: 4 kB / 277 MB, free: 13.51 MB / 266.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.94e-05/0.008633, allocations: 103.2 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.00871, allocations: 27.67 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008711, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.008713, allocations: 3.938 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.008958, allocations: 35.17 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.009167, allocations: 159.4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.009203, allocations: 67.34 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.199e-05/0.009215, allocations: 3.984 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.009235, allocations: 12.5 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009236, allocations: 0 / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Templates: time 0.008031/0.01727, allocations: 0.6246 MB / 278 MB, free: 12.42 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.809438103111461]