Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008768/0.0008768, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002144, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007569/0.0007569, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001867, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9736/0.9736, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08367/1.057, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.478e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001769/0.001784, allocations: 0.9461 MB / 246.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000198/0.001982, allocations: 128.2 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.002044, allocations: 4 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.002078, allocations: 3.938 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.002132, allocations: 3.938 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.002271, allocations: 39.83 kB / 246.3 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.002357, allocations: 39.86 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.508e-05/0.002433, allocations: 19.97 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.002492, allocations: 27.92 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.002522, allocations: 11.98 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.002543, allocations: 4 kB / 246.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.002553, allocations: 4 kB / 246.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.00259, allocations: 15.92 kB / 246.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002612, allocations: 15.94 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.006716, allocations: 39.78 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.006726, allocations: 0 / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006726, allocations: 0 / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.006735, allocations: 0 / 246.5 MB, free: 12.3 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.0003047/0.00704, allocations: 280.3 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.007071, allocations: 8.625 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.007104, allocations: 12.92 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.007251, allocations: 137.7 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.00726, allocations: 4.375 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.007274, allocations: 8.312 kB / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.007421, allocations: 103.8 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.007427, allocations: 192 / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007436, allocations: 8.359 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007442, allocations: 384 / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.00746, allocations: 27.84 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.335e-05/0.007523, allocations: 57.05 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.007616, allocations: 46.48 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.007642, allocations: 20.86 kB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.007651, allocations: 7.984 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.007674, allocations: 38.55 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.007674, allocations: 0 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001011/0.007776, allocations: 57.69 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.007816, allocations: 59.34 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.007889, allocations: 130.7 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.007898, allocations: 29.7 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.007922, allocations: 84.14 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.007932, allocations: 7.938 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.007959, allocations: 17.7 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.008034, allocations: 318.8 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.008039, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-06/0.008043, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.008062, allocations: 12.84 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008065, allocations: 3.984 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.084e-05/0.008105, allocations: 45.7 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.008115, allocations: 4 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.008118, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.00813, allocations: 4 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-06/0.008139, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.008142, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.008153, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.008156, allocations: 0 / 248 MB, free: 10.63 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.693e-05/0.008213, allocations: 120.6 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.008252, allocations: 45.69 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.00828, allocations: 20.47 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.008281, allocations: 0 / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.008282, allocations: 0 / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008285, allocations: 0 / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.611e-05/0.008341, allocations: 81.75 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.008342, allocations: 0 / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.008351, allocations: 11.88 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.008376, allocations: 11.94 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.008377, allocations: 0 / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.008382, allocations: 4 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.008385, allocations: 4 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008386, allocations: 4 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.786e-05/0.008424, allocations: 61.08 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.008438, allocations: 0 / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.00845, allocations: 0 / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.008452, allocations: 4 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.008457, allocations: 4 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.008483, allocations: 23.94 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008483, allocations: 4 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.008614, allocations: 4 kB / 248.4 MB, free: 10.18 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 6.585e-05/0.00868, allocations: 92.22 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.607e-05/0.008736, allocations: 24.84 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.008739, allocations: 0 / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.008739, allocations: 0 / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.008908, allocations: 89.89 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.009097, allocations: 160.4 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.009133, allocations: 75.27 kB / 248.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.149e-05/0.009144, allocations: 0 / 248.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.009192, allocations: 55.38 kB / 248.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009193, allocations: 96 / 248.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of Templates: time 0.005173/0.01437, allocations: 0.6828 MB / 249.6 MB, free: 8.957 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.367978419177234]