Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.329e-05, allocations: 6.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.005285/0.005319, allocations: 0.8951 MB / 273.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003836/0.005702, allocations: 123.5 kB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.005798, allocations: 4 kB / 274 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.802e-05/0.005866, allocations: 7.922 kB / 274 MB, free: 500 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.006031, allocations: 7.875 kB / 274 MB, free: 492 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.006294, allocations: 39.83 kB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.006403, allocations: 39.91 kB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.006516, allocations: 15.98 kB / 274.1 MB, free: 396 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.00657, allocations: 19.92 kB / 274.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.006605, allocations: 15.92 kB / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.006628, allocations: 7.984 kB / 274.2 MB, free: 352 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.006641, allocations: 4 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.006693, allocations: 15.98 kB / 274.2 MB, free: 332 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.006725, allocations: 11.94 kB / 274.2 MB, free: 320 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.006859, allocations: 39.83 kB / 274.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006862, allocations: 0 / 274.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006863, allocations: 0 / 274.2 MB, free: 280 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.006868, allocations: 0 / 274.2 MB, free: 280 kB / 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.0004065/0.007275, allocations: 396.3 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.007315, allocations: 8.031 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.00736, allocations: 16.89 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.007545, allocations: 144.4 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.007557, allocations: 4.375 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.007569, allocations: 384 / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/0.01081, allocations: 117.5 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01082, allocations: 4.125 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.01083, allocations: 4.375 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01084, allocations: 384 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.01087, allocations: 15.92 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.011, allocations: 132.6 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.01114, allocations: 67.12 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.01119, allocations: 35.66 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.0112, allocations: 4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.01123, allocations: 33.39 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.01123, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004392/0.01167, allocations: 73.64 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.01173, allocations: 63.39 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.01185, allocations: 185.8 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01187, allocations: 37.7 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.01191, allocations: 126.9 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.01193, allocations: 3.953 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.01196, allocations: 23.38 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.0121, allocations: 0.4922 MB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.01212, allocations: 4 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.01213, allocations: 0 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.01216, allocations: 11.69 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01216, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.826e-05/0.01223, allocations: 37.77 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01224, allocations: 12.03 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01225, allocations: 0 / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01227, allocations: 7.969 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.01229, allocations: 0 / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.0123, allocations: 3.938 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.01231, allocations: 7.938 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01232, allocations: 4 kB / 276.3 MB, free: 14.01 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 8.881e-05/0.01241, allocations: 152.6 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.01248, allocations: 69.62 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01252, allocations: 12.44 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01252, allocations: 4 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01253, allocations: 0 / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01253, allocations: 3.938 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.446e-05/0.01261, allocations: 128.6 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01262, allocations: 0 / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.01263, allocations: 7.984 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01263, allocations: 0 / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.01264, allocations: 3.938 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01264, allocations: 3.938 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01264, allocations: 0 / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.01274, allocations: 104.3 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.01278, allocations: 23.94 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.0128, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.01281, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.01282, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01282, allocations: 8 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.01289, allocations: 145.9 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01289, allocations: 0 / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.01307, allocations: 4 kB / 276.9 MB, free: 13.28 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 0.0001078/0.01318, allocations: 106.9 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.01328, allocations: 31.61 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01328, allocations: 0 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.01329, allocations: 0 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.01659, allocations: 34.53 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.01688, allocations: 163.3 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.01692, allocations: 67.34 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.01694, allocations: 4 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.01697, allocations: 8.5 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01697, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of Templates: time 0.005649/0.02262, allocations: 0.6392 MB / 278 MB, free: 12.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.158086566720158]