Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001884, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006339/0.0006339, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009269/0.001561, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9263/0.9263, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1683/1.095, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.645e-05, allocations: 2.312 kB / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002543/0.002569, allocations: 0.9486 MB / 240.7 MB, free: 5.418 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.002841, allocations: 119.5 kB / 240.8 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.002924, allocations: 4 kB / 240.8 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.002971, allocations: 7.875 kB / 240.8 MB, free: 5.289 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.274e-05/0.003053, allocations: 4.797 kB / 240.8 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.003251, allocations: 39.83 kB / 240.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.003375, allocations: 40.95 kB / 240.9 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003476, allocations: 23.98 kB / 240.9 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.003554, allocations: 19.92 kB / 240.9 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.003596, allocations: 19.09 kB / 241 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.003626, allocations: 4 kB / 241 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.003642, allocations: 4 kB / 241 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.003695, allocations: 7.938 kB / 241 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.003723, allocations: 11.94 kB / 241 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.003855, allocations: 43.77 kB / 241 MB, free: 5.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.003871, allocations: 0 / 241 MB, free: 5.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003872, allocations: 0 / 241 MB, free: 5.078 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.003887, allocations: 0 / 241 MB, free: 5.078 MB / 234.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.0004235/0.00431, allocations: 289.5 kB / 241.3 MB, free: 4.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.004352, allocations: 8.031 kB / 241.3 MB, free: 4.762 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.004396, allocations: 16.92 kB / 241.3 MB, free: 4.746 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.004598, allocations: 122.7 kB / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004611, allocations: 15.34 kB / 241.5 MB, free: 4.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.004627, allocations: 8.359 kB / 241.5 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.004821, allocations: 107.8 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004831, allocations: 192 / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.004838, allocations: 384 / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.004844, allocations: 5.156 kB / 241.6 MB, free: 4.461 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.004867, allocations: 11.94 kB / 241.6 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.684e-05/0.004944, allocations: 61 kB / 241.7 MB, free: 4.375 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.005069, allocations: 55.45 kB / 241.7 MB, free: 4.312 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.005105, allocations: 21.75 kB / 241.7 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.005114, allocations: 4 kB / 241.7 MB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.005143, allocations: 30.56 kB / 241.8 MB, free: 4.246 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.005144, allocations: 1.781 kB / 241.8 MB, free: 4.246 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001355/0.00528, allocations: 61.67 kB / 241.8 MB, free: 4.18 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.00533, allocations: 63.33 kB / 241.9 MB, free: 4.105 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.005426, allocations: 130.7 kB / 242 MB, free: 3.965 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.005441, allocations: 30.36 kB / 242.1 MB, free: 3.93 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.005468, allocations: 80.14 kB / 242.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.00548, allocations: 0.6875 kB / 242.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.005515, allocations: 21.66 kB / 242.2 MB, free: 3.82 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.005607, allocations: 324.7 kB / 242.5 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-06/0.005614, allocations: 0 / 242.5 MB, free: 3.496 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.005623, allocations: 4 kB / 242.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.005646, allocations: 8.859 kB / 242.5 MB, free: 3.48 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005649, allocations: 1.469 kB / 242.5 MB, free: 3.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.361e-05/0.005712, allocations: 41.62 kB / 242.5 MB, free: 3.434 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.005727, allocations: 4 kB / 242.5 MB, free: 3.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.005733, allocations: 4.625 kB / 242.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.005747, allocations: 0 / 242.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.005763, allocations: 0.5938 kB / 242.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005766, allocations: 0.5625 kB / 242.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.00578, allocations: 0 / 242.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.005786, allocations: 1.656 kB / 242.5 MB, free: 3.426 MB / 234.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.281e-05/0.005859, allocations: 116.6 kB / 242.7 MB, free: 3.301 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.005921, allocations: 53.67 kB / 242.7 MB, free: 3.242 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.005959, allocations: 16.42 kB / 242.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005961, allocations: 1.188 kB / 242.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005962, allocations: 0 / 242.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005966, allocations: 0 / 242.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.415e-05/0.00604, allocations: 78.73 kB / 242.8 MB, free: 3.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006042, allocations: 3.938 kB / 242.8 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.006057, allocations: 11.92 kB / 242.8 MB, free: 3.113 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.006097, allocations: 8.953 kB / 242.8 MB, free: 3.105 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.006102, allocations: 3.984 kB / 242.8 MB, free: 3.102 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.006111, allocations: 8.75 kB / 242.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.006113, allocations: 0 / 242.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006114, allocations: 0.5 kB / 242.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.332e-05/0.006168, allocations: 53.08 kB / 242.9 MB, free: 3.023 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.006189, allocations: 4.875 kB / 242.9 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.006209, allocations: 4 kB / 242.9 MB, free: 3.016 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.006213, allocations: 1.594 kB / 242.9 MB, free: 3.016 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.00622, allocations: 4 kB / 242.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.006252, allocations: 27.92 kB / 242.9 MB, free: 2.984 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006252, allocations: 0 / 242.9 MB, free: 2.984 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.006408, allocations: 12.03 kB / 242.9 MB, free: 2.973 MB / 234.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.0001057/0.006513, allocations: 84.41 kB / 243 MB, free: 2.883 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.006591, allocations: 16.86 kB / 243 MB, free: 2.863 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.006595, allocations: 0 / 243 MB, free: 2.863 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.006597, allocations: 4 kB / 243 MB, free: 2.859 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.006854, allocations: 96.8 kB / 243.1 MB, free: 2.754 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.00713, allocations: 161.1 kB / 243.3 MB, free: 2.57 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.007174, allocations: 71.22 kB / 243.4 MB, free: 2.48 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.007191, allocations: 4.094 kB / 243.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.007253, allocations: 59.36 kB / 243.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of SimCode: time 9.31e-07/0.007254, allocations: 0 / 243.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of Templates: time 0.003039/0.01029, allocations: 0.6724 MB / 244.1 MB, free: 1.766 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7470313888043165]