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.001273/0.001273, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001265/0.001265, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.9906/0.9906, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.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.994e-06/1.994e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.808e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002581/0.002619, allocations: 0.9055 MB / 268.9 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.002998, allocations: 119.5 kB / 269 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.00307, allocations: 3.938 kB / 269 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.003123, allocations: 3.938 kB / 269 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.003248, allocations: 15.92 kB / 269 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.00346, allocations: 31.91 kB / 269.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.003568, allocations: 39.84 kB / 269.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.003665, allocations: 23.91 kB / 269.1 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.003716, allocations: 23.98 kB / 269.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.003746, allocations: 11.92 kB / 269.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.003768, allocations: 4 kB / 269.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.00378, allocations: 4 kB / 269.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.003829, allocations: 23.91 kB / 269.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.003858, allocations: 7.938 kB / 269.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003973, allocations: 35.83 kB / 269.2 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.003977, allocations: 4 kB / 269.2 MB, free: 5.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003978, allocations: 0 / 269.2 MB, free: 5.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.003982, allocations: 0 / 269.2 MB, free: 5.195 MB / 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.0003532/0.004336, allocations: 396.4 kB / 269.6 MB, free: 4.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004374, allocations: 12.92 kB / 269.6 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.004415, allocations: 8.891 kB / 269.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.004587, allocations: 140.5 kB / 269.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004597, allocations: 4.375 kB / 269.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.004611, allocations: 8.359 kB / 269.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.00485, allocations: 125.3 kB / 269.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004858, allocations: 192 / 269.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.004868, allocations: 4.375 kB / 269.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004876, allocations: 384 / 269.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.004912, allocations: 23.86 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.005031, allocations: 124.6 kB / 270.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.005163, allocations: 63.19 kB / 270.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.005214, allocations: 31.72 kB / 270.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.005221, allocations: 0 / 270.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.005246, allocations: 45.33 kB / 270.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.005247, allocations: 4 kB / 270.2 MB, free: 4.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001662/0.005413, allocations: 73.64 kB / 270.3 MB, free: 4.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.005459, allocations: 55.41 kB / 270.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.005576, allocations: 189.8 kB / 270.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.005587, allocations: 25.7 kB / 270.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.00564, allocations: 138.9 kB / 270.7 MB, free: 3.566 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.00565, allocations: 0 / 270.7 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.005687, allocations: 27.33 kB / 270.7 MB, free: 3.531 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.005822, allocations: 492.1 kB / 271.2 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.005834, allocations: 4 kB / 271.2 MB, free: 3.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.005841, allocations: 3.984 kB / 271.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.005867, allocations: 23.69 kB / 271.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005869, allocations: 0 / 271.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.575e-05/0.005924, allocations: 33.7 kB / 271.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005937, allocations: 4 kB / 271.3 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.005943, allocations: 4 kB / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005954, allocations: 0 / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.054e-05/0.005965, allocations: 0 / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.005969, allocations: 3.938 kB / 271.3 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.005984, allocations: 3.938 kB / 271.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005988, allocations: 4.031 kB / 271.3 MB, free: 2.945 MB / 250.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.752e-05/0.006076, allocations: 164.6 kB / 271.4 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.006158, allocations: 73.58 kB / 271.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.006193, allocations: 12.42 kB / 271.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006196, allocations: 4 kB / 271.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.0062, allocations: 0 / 271.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006205, allocations: 3.938 kB / 271.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.006296, allocations: 124.6 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006297, allocations: 0 / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.006305, allocations: 0 / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.006309, allocations: 8 kB / 271.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006316, allocations: 4 kB / 271.7 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006319, allocations: 3.984 kB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00632, allocations: 0 / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.006429, allocations: 108.7 kB / 271.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.006463, allocations: 11.95 kB / 271.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.006486, allocations: 7.984 kB / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.0065, allocations: 0 / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.006502, allocations: 0 / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006506, allocations: 0 / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.00657, allocations: 142.3 kB / 271.9 MB, free: 2.215 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00657, allocations: 4 kB / 271.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000203/0.006773, allocations: 8 kB / 271.9 MB, free: 2.203 MB / 250.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.033e-05/0.006863, allocations: 103.2 kB / 272 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.006949, allocations: 31.69 kB / 272.1 MB, free: 2.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006951, allocations: 0 / 272.1 MB, free: 2.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.006952, allocations: 0 / 272.1 MB, free: 2.059 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.007231, allocations: 42.45 kB / 272.1 MB, free: 2.016 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.007497, allocations: 155.4 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.007541, allocations: 71.39 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.007555, allocations: 0 / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.00758, allocations: 12.5 kB / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007581, allocations: 0 / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of Templates: time 0.002736/0.01032, allocations: 0.6601 MB / 273 MB, free: 1.082 MB / 250.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5747561417520046]