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.001435/0.001435, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001744/0.001744, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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 1.602/1.602, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001534/0.001534, allocations: 47.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00244/0.31, allocations: 0.894 MB / 421.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.3104, allocations: 115.6 kB / 421.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.3104, allocations: 4 kB / 421.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.275e-05/0.3105, allocations: 7.922 kB / 421.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3106, allocations: 7.938 kB / 421.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.3109, allocations: 31.89 kB / 421.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.311, allocations: 39.92 kB / 422 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3111, allocations: 19.98 kB / 422 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.3112, allocations: 15.92 kB / 422 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.3112, allocations: 23.84 kB / 422 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3112, allocations: 4 kB / 422 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3113, allocations: 7.938 kB / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.3113, allocations: 11.94 kB / 422 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3114, allocations: 31.8 kB / 422.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3115, allocations: 59.53 kB / 422.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3115, allocations: 0 / 422.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3115, allocations: 0 / 422.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.3115, allocations: 0 / 422.1 MB, free: 13.88 MB / 334.1 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.0004898/0.312, allocations: 379.7 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.312, allocations: 8.031 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3121, allocations: 8.891 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3124, allocations: 196.2 kB / 422.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3124, allocations: 384 / 422.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3124, allocations: 12.31 kB / 422.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.3127, allocations: 127.8 kB / 422.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3127, allocations: 4.172 kB / 422.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3127, allocations: 3.938 kB / 422.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3127, allocations: 4 kB / 422.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.3128, allocations: 15.98 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.313, allocations: 177.5 kB / 423 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3131, allocations: 62.66 kB / 423.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.3132, allocations: 32.89 kB / 423.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.3132, allocations: 0 / 423.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3132, allocations: 42.56 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.3132, allocations: 0 / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002166/0.3134, allocations: 101.5 kB / 423.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.3135, allocations: 51.41 kB / 423.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3136, allocations: 137.2 kB / 423.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3137, allocations: 25.7 kB / 423.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3137, allocations: 84.14 kB / 423.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3137, allocations: 0 / 423.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3138, allocations: 37.66 kB / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3139, allocations: 318.8 kB / 423.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.314, allocations: 7.984 kB / 423.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.314, allocations: 58.81 kB / 424 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.3141, allocations: 74.8 kB / 424 MB, free: 11.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3141, allocations: 4 kB / 424.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001234/0.3142, allocations: 85.69 kB / 424.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3143, allocations: 8 kB / 424.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3143, allocations: 7.875 kB / 424.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3143, allocations: 4 kB / 424.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.3143, allocations: 7.984 kB / 424.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3143, allocations: 4.188 kB / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.3144, allocations: 15.95 kB / 424.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3144, allocations: 4 kB / 424.2 MB, free: 11.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.889e-05/0.3145, allocations: 125.7 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.3146, allocations: 73.58 kB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.3146, allocations: 12.31 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3146, allocations: 4 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3146, allocations: 3.984 kB / 424.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3146, allocations: 0 / 424.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3147, allocations: 169.7 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3147, allocations: 0 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.3148, allocations: 4 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.3148, allocations: 0 / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.3148, allocations: 7.875 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3148, allocations: 0 / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3148, allocations: 0 / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3149, allocations: 105 kB / 424.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.315, allocations: 93.05 kB / 424.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.315, allocations: 15.88 kB / 424.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.315, allocations: 0 / 424.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-06/0.315, allocations: 0 / 424.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3151, allocations: 0 / 424.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.3151, allocations: 103.3 kB / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3151, allocations: 0 / 424.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.3153, allocations: 8 kB / 424.9 MB, free: 10.73 MB / 334.1 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.0001131/0.3154, allocations: 107 kB / 425 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3156, allocations: 43.92 kB / 425 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3156, allocations: 0 / 425 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3156, allocations: 0 / 425 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3159, allocations: 36.42 kB / 425.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.3162, allocations: 165.8 kB / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3166, allocations: 0.6966 MB / 425.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.3166, allocations: 12 kB / 426 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3166, allocations: 11.44 kB / 426 MB, free: 9.609 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3166, allocations: 0 / 426 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Templates: time 0.003199/0.3198, allocations: 0.6359 MB / 426.6 MB, free: 8.977 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.846942878328264]