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.001168/0.001168, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005216/0.005216, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 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 0.86/0.86, allocations: 177.1 MB / 205 MB, free: 5.738 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.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.326e-05, allocations: 4.812 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001877/0.0019, allocations: 0.8911 MB / 326.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.002238, allocations: 107.6 kB / 326.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.002328, allocations: 4 kB / 326.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.002381, allocations: 11.86 kB / 326.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.002515, allocations: 3.984 kB / 326.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.002756, allocations: 43.78 kB / 326.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.002867, allocations: 43.91 kB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002974, allocations: 11.98 kB / 326.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.003027, allocations: 23.92 kB / 327 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.003059, allocations: 11.97 kB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.003087, allocations: 8 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.003098, allocations: 4 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.003154, allocations: 15.92 kB / 327 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.003184, allocations: 11.94 kB / 327 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003308, allocations: 59.73 kB / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003311, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.003312, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003316, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.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.000371/0.003687, allocations: 293 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003726, allocations: 8.031 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.003764, allocations: 12.88 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.00397, allocations: 137.7 kB / 327.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.003983, allocations: 8.312 kB / 327.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.003994, allocations: 4.375 kB / 327.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.004262, allocations: 131.8 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.004272, allocations: 192 / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.004283, allocations: 4.359 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.004289, allocations: 4.375 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.004334, allocations: 23.92 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.00448, allocations: 113.2 kB / 327.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.004615, allocations: 66.66 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.004668, allocations: 32.89 kB / 327.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.004679, allocations: 0 / 327.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.004702, allocations: 38.5 kB / 327.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.004703, allocations: 0 / 327.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001879/0.004891, allocations: 89.56 kB / 328 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.004943, allocations: 59.41 kB / 328.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.005042, allocations: 140.6 kB / 328.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005055, allocations: 25.7 kB / 328.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.005093, allocations: 80.14 kB / 328.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.005107, allocations: 11.95 kB / 328.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.005144, allocations: 17.7 kB / 328.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.005245, allocations: 318.8 kB / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.005259, allocations: 4 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.005265, allocations: 0 / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.005289, allocations: 12.86 kB / 328.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005291, allocations: 0 / 328.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.508e-05/0.005346, allocations: 45.69 kB / 328.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.005361, allocations: 8 kB / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005365, allocations: 0 / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.005382, allocations: 0 / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.079e-05/0.005393, allocations: 0 / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005398, allocations: 0 / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.005413, allocations: 3.938 kB / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005419, allocations: 4 kB / 328.7 MB, free: 12.22 MB / 298.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.359e-05/0.005492, allocations: 121.8 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.005568, allocations: 69.62 kB / 328.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.0056, allocations: 24.45 kB / 328.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005602, allocations: 0 / 328.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.005605, allocations: 3.938 kB / 328.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.00561, allocations: 3.938 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.494e-05/0.005685, allocations: 113.3 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005686, allocations: 0 / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.005692, allocations: 0 / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005693, allocations: 4 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.0057, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005701, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005702, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.0058, allocations: 105 kB / 329.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.005837, allocations: 15.95 kB / 329.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.005855, allocations: 7.984 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.005874, allocations: 0 / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.005876, allocations: 0 / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.005885, allocations: 7.938 kB / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.005942, allocations: 99.27 kB / 329.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005942, allocations: 3.938 kB / 329.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.006171, allocations: 8 kB / 329.3 MB, free: 11.58 MB / 298.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.227e-05/0.006263, allocations: 107.1 kB / 329.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.006355, allocations: 31.91 kB / 329.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006357, allocations: 0 / 329.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.006357, allocations: 0 / 329.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.006648, allocations: 44.41 kB / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.006915, allocations: 183.1 kB / 329.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.006972, allocations: 83.25 kB / 329.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.006998, allocations: 12.5 kB / 329.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006998, allocations: 4.062 kB / 329.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of Templates: time 0.001742/0.00874, allocations: 0.7454 MB / 330.5 MB, free: 10.32 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.122795244678855]