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.0007984/0.0007984, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001831, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008042/0.0008042, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002081, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9687/0.9687, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08778/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 1.593e-06/1.593e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.276e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002229/0.002252, allocations: 0.9463 MB / 245.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.002509, allocations: 120.3 kB / 245.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.002583, allocations: 7.875 kB / 245.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.002628, allocations: 3.938 kB / 245.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.002698, allocations: 11.92 kB / 245.6 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.002868, allocations: 27.91 kB / 245.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002969, allocations: 43.84 kB / 245.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.003059, allocations: 19.98 kB / 245.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.003125, allocations: 27.97 kB / 245.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.579e-05/0.003161, allocations: 15.92 kB / 245.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.003183, allocations: 7.938 kB / 245.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.003202, allocations: 4 kB / 245.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.003243, allocations: 11.94 kB / 245.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.003273, allocations: 11.94 kB / 245.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003387, allocations: 35.83 kB / 245.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.003403, allocations: 0 / 245.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.003405, allocations: 4 kB / 245.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.003421, allocations: 0 / 245.8 MB, free: 13.04 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.0003688/0.00379, allocations: 276.3 kB / 246.1 MB, free: 12.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.003818, allocations: 12.03 kB / 246.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.003847, allocations: 8.938 kB / 246.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.003997, allocations: 137.5 kB / 246.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004008, allocations: 8.375 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.004015, allocations: 4.375 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.004156, allocations: 103.8 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.004164, allocations: 8.172 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.004171, allocations: 384 / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004177, allocations: 4.375 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.004196, allocations: 11.88 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.81e-05/0.004254, allocations: 57.05 kB / 246.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.004353, allocations: 46.55 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.00438, allocations: 28.83 kB / 246.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.004387, allocations: 0 / 246.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.00441, allocations: 38.56 kB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.00441, allocations: 0 / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001152/0.004526, allocations: 61.86 kB / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.004573, allocations: 63.45 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.00464, allocations: 126.7 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.004647, allocations: 25.7 kB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.004671, allocations: 92.05 kB / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.00468, allocations: 0 / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.004707, allocations: 25.67 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.004781, allocations: 318.8 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-06/0.004789, allocations: 3.984 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.004796, allocations: 4 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.004818, allocations: 16.92 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00482, allocations: 0 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.085e-05/0.004861, allocations: 33.64 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.004875, allocations: 8 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.00488, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00489, allocations: 3.984 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-05/0.004903, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.004906, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.004919, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.004924, allocations: 4 kB / 247.3 MB, free: 11.37 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.781e-05/0.004982, allocations: 116.6 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.005018, allocations: 53.69 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.00505, allocations: 16.36 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005052, allocations: 0 / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.005053, allocations: 4 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005056, allocations: 0 / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.298e-05/0.005109, allocations: 81.75 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00511, allocations: 0 / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.005117, allocations: 4 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.005142, allocations: 15.95 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005144, allocations: 7.984 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.005148, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005148, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005149, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.672e-05/0.005186, allocations: 61.08 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.0052, allocations: 4 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.005212, allocations: 7.938 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.005214, allocations: 0 / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005217, allocations: 0 / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.934e-05/0.005237, allocations: 28.34 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005237, allocations: 3.938 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.703e-05/0.005324, allocations: 8 kB / 247.7 MB, free: 10.91 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 8.192e-05/0.005406, allocations: 80.42 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.094e-05/0.005467, allocations: 20.84 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.005471, allocations: 4 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.4e-07/0.005471, allocations: 0 / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.005642, allocations: 41.17 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.005835, allocations: 164.4 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.005865, allocations: 67.33 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.005878, allocations: 8.062 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.005923, allocations: 55.38 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005924, allocations: 0 / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of Templates: time 0.002188/0.008112, allocations: 0.6586 MB / 248.8 MB, free: 9.777 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4816714776679873]