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.001042/0.001042, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006461/0.007502, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001094/0.001094, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003869/0.004962, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9928/0.9928, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1105/1.103, allocations: 53.65 MB / 243.4 MB, free: 15.54 MB / 250.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 2.886e-06/2.886e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.923e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001749/0.001778, allocations: 0.9546 MB / 245.7 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00022/0.001998, allocations: 120.3 kB / 245.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.002077, allocations: 3.938 kB / 245.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.00212, allocations: 7.922 kB / 245.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.002184, allocations: 7.938 kB / 245.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.002353, allocations: 43.83 kB / 245.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.002473, allocations: 35.86 kB / 245.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.002567, allocations: 23.97 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.002648, allocations: 27.92 kB / 245.9 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.002693, allocations: 7.984 kB / 245.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.00272, allocations: 4 kB / 245.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.002734, allocations: 4 kB / 245.9 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.00279, allocations: 15.94 kB / 245.9 MB, free: 13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.002818, allocations: 15.92 kB / 246 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.002937, allocations: 35.84 kB / 246 MB, free: 12.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.002953, allocations: 0 / 246 MB, free: 12.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.002954, allocations: 0 / 246 MB, free: 12.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.00297, allocations: 0 / 246 MB, free: 12.95 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.0004064/0.003376, allocations: 280.3 kB / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.00342, allocations: 12.03 kB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.003463, allocations: 8.922 kB / 246.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.003664, allocations: 141.6 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003677, allocations: 4.375 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.003692, allocations: 4.375 kB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.003859, allocations: 103.8 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.003869, allocations: 4.125 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.003878, allocations: 4.375 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.003884, allocations: 4.312 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.003899, allocations: 7.938 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.149e-05/0.003971, allocations: 69.03 kB / 246.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.004074, allocations: 46.55 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.004098, allocations: 24.84 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004105, allocations: 0 / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004128, allocations: 38.56 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 5.91e-07/0.004128, allocations: 0 / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001261/0.004255, allocations: 65.83 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.004303, allocations: 63.47 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.004376, allocations: 126.7 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.004386, allocations: 29.7 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.004409, allocations: 84.12 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.004419, allocations: 4 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.004448, allocations: 25.66 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.004529, allocations: 318.8 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.004536, allocations: 4 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.00454, allocations: 0 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.00456, allocations: 12.8 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.004562, allocations: 0 / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.285e-05/0.004605, allocations: 37.78 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004616, allocations: 8 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.00462, allocations: 0 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.004633, allocations: 0 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-05/0.004648, allocations: 0 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004651, allocations: 0 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-06/0.004661, allocations: 4 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.004665, allocations: 0 / 247.5 MB, free: 11.28 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 5.797e-05/0.004723, allocations: 112.6 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.00476, allocations: 61.61 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.004796, allocations: 8.438 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.004799, allocations: 8 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.0048, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.004804, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.947e-05/0.004854, allocations: 77.75 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004854, allocations: 7.938 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.00486, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.004891, allocations: 19.94 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004892, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.004898, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004898, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004899, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.653e-05/0.004946, allocations: 69.03 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.004961, allocations: 0 / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.004973, allocations: 7.984 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-06/0.004977, allocations: 4 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.004982, allocations: 4 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.005003, allocations: 24.48 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005003, allocations: 0 / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.924e-05/0.005092, allocations: 4 kB / 247.9 MB, free: 10.82 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 7.933e-05/0.005172, allocations: 84.42 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.005243, allocations: 20.86 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.005246, allocations: 0 / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.005247, allocations: 0 / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.005498, allocations: 96.58 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.005737, allocations: 168.4 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.005779, allocations: 67.28 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.005795, allocations: 3.984 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.005852, allocations: 55.38 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005853, allocations: 0 / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of Templates: time 0.002324/0.008177, allocations: 0.6763 MB / 249.1 MB, free: 9.609 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",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.656255543231964]