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.0008905/0.0008905, allocations: 87.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.0008928/0.0008928, 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 1.049/1.049, allocations: 177 MB / 204.8 MB, free: 5.602 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.894e-06/1.894e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.058e-05, allocations: 5.266 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001757/0.001788, allocations: 0.9079 MB / 273.8 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.002119, allocations: 123.5 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.21e-05/0.002211, allocations: 0 / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.198e-05/0.002263, allocations: 7.875 kB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.002393, allocations: 11.98 kB / 274 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.002606, allocations: 39.78 kB / 274 MB, free: 400 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.002701, allocations: 35.91 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.002804, allocations: 19.97 kB / 274 MB, free: 344 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.002852, allocations: 23.92 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.002881, allocations: 11.98 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.002902, allocations: 4 kB / 274.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.002913, allocations: 8 kB / 274.1 MB, free: 296 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.002962, allocations: 11.94 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.002993, allocations: 15.91 kB / 274.1 MB, free: 268 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003106, allocations: 39.77 kB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.003111, allocations: 4 kB / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003111, allocations: 0 / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.003117, allocations: 0 / 274.2 MB, free: 224 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.0003437/0.00346, allocations: 392.4 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.003501, allocations: 15.98 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.003543, allocations: 12.89 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.003721, allocations: 140.5 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.003731, allocations: 4.375 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003744, allocations: 4.375 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.003956, allocations: 121.4 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.003964, allocations: 192 / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.003975, allocations: 4.375 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.003983, allocations: 384 / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.00401, allocations: 23.92 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.004118, allocations: 128.6 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.004244, allocations: 59.14 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.004285, allocations: 31.72 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.004292, allocations: 0 / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.004314, allocations: 41.39 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.004315, allocations: 0 / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001559/0.00447, allocations: 81.56 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.004515, allocations: 59.34 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.004613, allocations: 192.8 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004622, allocations: 29.7 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.004665, allocations: 138.9 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.004678, allocations: 3.953 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.004709, allocations: 23.38 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.004817, allocations: 492.1 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.004831, allocations: 4 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.004843, allocations: 3.984 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.004871, allocations: 15.69 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004874, allocations: 0 / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.683e-05/0.00493, allocations: 41.7 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.004945, allocations: 4 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.00495, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.004964, allocations: 4 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.388e-05/0.004978, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.004984, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.004996, allocations: 3.938 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005001, allocations: 0 / 276.2 MB, free: 13.97 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 7.577e-05/0.005077, allocations: 168.6 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.005136, allocations: 61.97 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.005174, allocations: 20.39 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.005178, allocations: 4 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005182, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.005188, allocations: 3.938 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.005256, allocations: 124.6 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005256, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.005263, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005265, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.005272, allocations: 8 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005274, allocations: 80 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.005277, allocations: 7.969 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.005366, allocations: 112.3 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.005398, allocations: 11.95 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.005423, allocations: 11.92 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.005434, allocations: 0 / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.005438, allocations: 7.922 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.005443, allocations: 0 / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.0055, allocations: 139.2 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0055, allocations: 0 / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.005622, allocations: 8 kB / 276.9 MB, free: 13.22 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 9.55e-05/0.005717, allocations: 103.2 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.005819, allocations: 31.67 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005821, allocations: 0 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.005821, allocations: 0 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.006088, allocations: 39.8 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.00635, allocations: 155.4 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.006388, allocations: 67.33 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.006403, allocations: 0 / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.006431, allocations: 12.5 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of SimCode: time 2.154e-06/0.006433, allocations: 4.062 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002397/0.008831, allocations: 0.6235 MB / 277.9 MB, free: 12.13 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.9868167848326266]