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.0007478/0.0007478, allocations: 91.67 kB / 21.19 MB, free: 3.367 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.0009244/0.0009244, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9836/0.9836, allocations: 177 MB / 204.8 MB, free: 5.23 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.293e-06/1.293e-06, allocations: 0 / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.809e-05, allocations: 6.312 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001641/0.001659, allocations: 0.899 MB / 273.8 MB, free: 400 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000304/0.001963, allocations: 123.5 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.002048, allocations: 0 / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.002112, allocations: 11.88 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.002246, allocations: 7.984 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.002457, allocations: 39.77 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.00255, allocations: 35.92 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.002655, allocations: 23.97 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.002703, allocations: 19.92 kB / 274.1 MB, free: 136 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.681e-05/0.00273, allocations: 7.984 kB / 274.1 MB, free: 128 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.002752, allocations: 4 kB / 274.1 MB, free: 124 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.002762, allocations: 4 kB / 274.1 MB, free: 120 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.002813, allocations: 19.91 kB / 274.1 MB, free: 100 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.002843, allocations: 15.94 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.002951, allocations: 43.77 kB / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002953, allocations: 0 / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002954, allocations: 0 / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.002958, allocations: 0 / 274.2 MB, free: 40 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.0003358/0.003294, allocations: 392.4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003329, allocations: 11.98 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.00337, allocations: 16.89 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.00352, allocations: 140.4 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.003529, allocations: 4.375 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.003541, allocations: 16.3 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.003733, allocations: 117.5 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003742, allocations: 192 / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.00375, allocations: 384 / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.003759, allocations: 4.375 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.003783, allocations: 15.92 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.004152, allocations: 128.6 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.004283, allocations: 71.12 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.004321, allocations: 31.72 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.004327, allocations: 0 / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004347, allocations: 33.39 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004348, allocations: 0 / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001429/0.004491, allocations: 77.58 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.004533, allocations: 63.34 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.004635, allocations: 189.8 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.004647, allocations: 29.7 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.004687, allocations: 130.9 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.004698, allocations: 3.953 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.004725, allocations: 31.38 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.004834, allocations: 496.1 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.004844, allocations: 3.984 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.00485, allocations: 4 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.004871, allocations: 11.69 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004873, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.215e-05/0.004915, allocations: 37.64 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004927, allocations: 4 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.004932, allocations: 96 / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.004945, allocations: 4 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.31e-05/0.004959, allocations: 8 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.004963, allocations: 0 / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.004975, allocations: 7.922 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.004981, allocations: 0 / 276.2 MB, free: 13.78 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.602e-05/0.005047, allocations: 156.6 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.005102, allocations: 73.88 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.005142, allocations: 8.438 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.005144, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.005148, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.005152, allocations: 11.94 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.005215, allocations: 128.6 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005216, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-06/0.005223, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005226, allocations: 3.984 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.005232, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005234, allocations: 4.078 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005235, allocations: 3.984 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.112e-05/0.005316, allocations: 108.3 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.005345, allocations: 15.94 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.005363, allocations: 0 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.005375, allocations: 12 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.005377, allocations: 3.938 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.00538, allocations: 0 / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.005425, allocations: 142 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005425, allocations: 0 / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001165/0.005542, allocations: 4 kB / 276.9 MB, free: 13.04 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.716e-05/0.005609, allocations: 103.2 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.005693, allocations: 23.67 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.005695, allocations: 4.062 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.005696, allocations: 0 / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.005997, allocations: 46.36 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.006319, allocations: 163.4 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.006365, allocations: 63.34 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.006381, allocations: 0 / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.006409, allocations: 12.5 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00641, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002726/0.009136, allocations: 0.6576 MB / 277.9 MB, free: 11.92 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.6810791566967964]